theta: Extract Regression Coefficients for B-Splines and Tensor...

Description Usage Arguments Details Value Author(s) See Also

Description

An S3 method for extracting the regression coefficients of the bsplines and btensor terms. By Default this uses stats::coef to extract all the regression coefficients. A specific method for lmerMod objects has been provided. If you are using a regression method which stats::coef will not return the regression coefficients, you'll need to define an S3 method for stats::coef to do so.

Usage

1
theta(fit)

Arguments

fit

a regression model fit

Details

This function is implicitly called in the cpr::cp and cpr::cn calls.

Value

the regression coefficients associated with terms with names containing either "bsplines" or "btensor".

Author(s)

Peter DeWitt dewittpe@gmail.com

See Also

coef cp cn


cpr documentation built on May 1, 2019, 10:46 p.m.