Object test for lengths class

Share:

Description

Function to test if an object is of the class lengths.

Usage

1
is.lengths(object)

Arguments

object

object to be tested.

Details

The function returns TRUE if and only if its argument is a lengths object.

Value

A logical value.

Author(s)

Luca Sartore drwolf85@gmail.com

See Also

getlen

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(ACM)
direction <- c(0,0,1)
     
# Compute the appertaining directional line for each location
loc.id <- which_lines(ACM[, 1:3], direction)
     
# Estimate stratum lengths
gl <- getlen(ACM$MAT3, ACM[, 1:3], loc.id, direction)

# Test the object gl
is.lengths(gl)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.