Learn R Programming

spMC (version 0.2.2)

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

Arguments

Value

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

Rdversion

1.1

See Also

getlen, summary.lengths

Examples

Run this code
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