print.summary.lengths: Printing Stratum Lengths Summary for Each Observed Category

print.summary.lengthsR Documentation

Printing Stratum Lengths Summary for Each Observed Category

Description

The function prints the summary of stratum lengths given by summary.lengths.

Usage

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

Arguments

x

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

...

further arguments passed to or from other methods.

Value

The summary of stratum lengths grouped by category is printed on the screen or other output devices. No values are returned.

Author(s)

Luca Sartore drwolf85@gmail.com

See Also

getlen, summary.lengths

Examples


data(ACM)
direction <- c(0,0,1)
     
# Compute the appartaining 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)

# Summarize the stratum lengths
sgl <- summary(gl)

# Print the summary of stratum lengths
print(sgl)

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