extract,bam-method | R Documentation |
extract
method for bam
objectsextract
method for bam
objects created by the
bam
function in the mgcv package.
## S4 method for signature 'bam'
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,
...
)
model |
A statistical model object. |
include.smooth |
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). |
include.aic |
Report Akaike's Information Criterion (AIC) in the GOF block? |
include.bic |
Report the Bayesian Information Criterion (BIC) in the GOF block? |
include.loglik |
Report the log likelihood in the GOF block? |
include.deviance |
Report the deviance? |
include.dev.expl |
Report the deviance explained? |
include.dispersion |
Report the dispersion parameter? |
include.rsquared |
Report R^2 in the GOF block? |
include.gcv |
Report the GCV score? |
include.nobs |
Report the number of observations in the GOF block? |
include.nsmooth |
Report the number of smooth terms? |
... |
Custom parameters, which are handed over to subroutines, in this
case to the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.