Print a summary of the sail path at each step along the path.

# S3 method for sail
print(x, digits = max(3, getOption("digits") - 3), ...)

Arguments

x

fitted sail object

digits

significant digits in printout. Default: max(3, getOption("digits") - 3)

...

additional print arguments

Value

OUTPUT_DESCRIPTION

Details

The call that produced the object x is printed, followed by a five-column matrix with columns df_main, df_interaction, df_environment, %Dev and Lambda. The df_ columns are the corresponding number of nonzero coefficients for main effects, interactions and exposure, respectively. %dev is the percent deviance explained (relative to the null deviance). For type="gaussian" this is the r-squared.

See also

Examples

if (FALSE) { if(interactive()){ data("sailsim") f.basis <- function(i) splines::bs(i, degree = 3) fit <- sail(x = sailsim$x, y = sailsim$y, e = sailsim$e, basis = f.basis) fit } }