print.density.lengths {spMC}R Documentation

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

x

an object of the class density.lengths, typically with the output of the function density.lengths.

digits

minimal number of digits, see print.default.

...

further arguments to pass to the function summary.data.frame.

Value

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

Author(s)

Luca Sartore drwolf85@gmail.com

See Also

density.lengths, plot.density.lengths

Examples


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)

[Package spMC version 0.3.15 Index]