Determine which Mooring Elements are Anchors

is.anchor(m)

Arguments

m

a mooring object, created by mooring().

Value

a logical vector of the same length as m, indicating whether each element is of the anchor sub-class.

Author

Dan Kelley

Examples

library(mooring)
m <- mooring(anchor(), wire(length = 100), float("HMB 20"), waterDepth = 120)
is.anchor(m)
#> [1] FALSE FALSE  TRUE