sail
objectprint.sail.Rd
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), ...)
x | fitted |
---|---|
digits | significant digits in printout. Default: |
... | additional print arguments |
OUTPUT_DESCRIPTION
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.
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 } }