extract
method for gam
objectsextract
method for gam
objects created by the
gam
function in the mgcv package.
# S4 method for gam
extract(
model,
include.smooth = TRUE,
include.aic = TRUE,
include.bic = TRUE,
include.loglik = TRUE,
include.deviance = TRUE,
include.dev.expl = TRUE,
include.dispersion = TRUE,
include.rsquared = TRUE,
include.gcv = TRUE,
include.nobs = TRUE,
include.nsmooth = TRUE,
...
)
A statistical model object.
Report the smooth terms of a GAM? If they are reported, the EDF value is reported as the coefficient, and DF is included in parentheses (not standard errors because a chi-square test is used for the smooth terms).
Report Akaike's Information Criterion (AIC) in the GOF block?
Report the Bayesian Information Criterion (BIC) in the GOF block?
Report the log likelihood in the GOF block?
Report the deviance?
Report the deviance explained?
Report the dispersion parameter?
Report R^2 in the GOF block?
Report the GCV score?
Report the number of observations in the GOF block?
Report the number of smooth terms?
Custom parameters, which are handed over to subroutines, in this
case to the summary
method for the object.