Learn R Programming

spMC (version 0.3.15)

print.summary.lengths: 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 summary.lengths
print(x, ...)

Value

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

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.

Author

Luca Sartore drwolf85@gmail.com

See Also

getlen, summary.lengths

Examples

Run this code
# \donttest{
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)
# }

Run the code above in your browser using DataLab