R/is.R
is.float.Rd
Determine which Mooring Elements are Floats
is.float(m)
a mooring object, created by mooring().
mooring()
a logical vector of the same length as m, indicating whether each element is of the float sub-class.
m
float
Dan Kelley
library(mooring) m <- mooring(anchor(), wire(length = 100), float("HMB 20"), waterDepth = 120) is.float(m) #> [1] TRUE FALSE FALSE