is.lengths: Object test for lengths class

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/is.lengths.R

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)

spMC documentation built on May 30, 2017, 4:18 a.m.

Search within the spMC package
Search all R packages, documentation and source code