print.ppmlasso: Print a fitted regularisation path

print.ppmlassoR Documentation

Print a fitted regularisation path

Description

This function prints output from a fitted regularisation path.

Usage

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

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.

Value

N/A

Author(s)

Ian W. Renner

See Also

ppmlasso for fitting regularisation paths.

Examples

# 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)

ppmlasso documentation built on Dec. 1, 2022, 5:09 p.m.