Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

extract-bam-method

extract method for bam objects


Description

extract method for bam objects created by the bam function in the mgcv package.

Usage

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

Arguments

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 summary method for the object.


texreg

Conversion of R Regression Output to LaTeX or HTML Tables

v1.37.5
GPL-3
Authors
Philip Leifeld [aut, cre], Claudia Zucca [ctb]
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.