Learn R Programming

spMC (version 0.2.2)

print.density.lengths: Printing Empirical Densities Estimates of Stratum Lengths

Description

he function a summary of the empirical density stratum lengths calculated by density.lengths.

Usage

## S3 method for class 'density.lengths':
print(x, digits = NULL, ...)

Arguments

Value

A summary of the empirical distributions is printed on the screen or other output devices. No values are returned.

Rdversion

1.1

See Also

density.lengths, plot.density.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)

# Compute the empirical densities of stratum lengths
dgl <- density(gl)

# Print the empirical densities of stratum lengths
print(dgl)

Run the code above in your browser using DataLab