summary.lengths {spMC} | R Documentation |
Summarizing Stratum Lengths
Description
The function summarizes the stratum lengths for each observed category.
Usage
## S3 method for class 'lengths'
summary(object, ..., zeros.rm = TRUE)
Arguments
object |
an object of the class |
... |
further arguments passed to or from other methods. |
zeros.rm |
a logical values. If |
Value
An object of class summary.lengths
containing the minimum, the first quartile, the median, the mean, the third quartile and the maximum of the stratum lengths for each observed category.
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)
# Summarize the stratum lengths
sgl <- summary(gl)
[Package spMC version 0.3.15 Index]