The function summarizes the stratum lengths for each observed category.
# S3 method for lengths
summary(object, ..., zeros.rm = TRUE)
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.
an object of the class lengths
, typically with the output of the function getlen
.
further arguments passed to or from other methods.
a logical values. If FALSE
, summarizing statistics will be computed by including zero values. It is TRUE
by default.
Luca Sartore drwolf85@gmail.com
getlen
# \donttest{
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)
# }
Run the code above in your browser using DataLab