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