Learn R Programming

ppmlasso (version 1.4)

print.ppmlasso: Print a fitted regularisation path

Description

This function prints output from a fitted regularisation path.

Usage

# S3 method for ppmlasso
print(x, ..., output = c("all", "path", "model", "interaction"))

Value

N/A

Arguments

x

A regularisation path fitted by ppmlasso.

...

Further arguments controlling the printed output.

output

This argument controls what output is printed to the screen. If output includes "path", information about the entire regularisation path is printed. If output includes "model", information about the model that optimises the given criterion is printed. If output includes "interaction", information about the point interactions is printed. Setting output = "all" will print all available information.

Author

Ian W. Renner

See Also

ppmlasso for fitting regularisation paths.

Examples

Run this code
# Fit a regularisation path of Poisson point process models
data(BlueMountains)
ppm.form = ~ poly(FC, TMP_MIN, TMP_MAX, RAIN_ANN, degree = 2)
ppm.fit  = ppmlasso(ppm.form, sp.xy = BlueMountains$eucalypt, 
env.grid = BlueMountains$env, sp.scale = 1, n.fits = 20, writefile = FALSE)
print(ppm.fit)

Run the code above in your browser using DataLab