print.lengths: Printing Stratum Lengths for Each Observed Category

View source: R/print.lengths.R

print.lengthsR Documentation

Printing Stratum Lengths for Each Observed Category

Description

The function prints stratum lengths given by getlen.

Usage

## S3 method for class 'lengths'
print(x, ...)

Arguments

x

an object of the class lengths, typically with the output of the function getlen.

...

further arguments passed to or from other methods.

Value

Stratum lengths grouped by category are printed on the screen or other output devices. No values are returned.

Author(s)

Luca Sartore drwolf85@gmail.com

See Also

getlen

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)

# Print stratum lengths
print(gl)

spMC documentation built on May 3, 2023, 9:13 a.m.