is.lengths {spMC} | R Documentation |
Object test for lengths class
Description
Function to test if an object is of the class lengths
.
Usage
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
Examples
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)
[Package spMC version 0.3.15 Index]