| coef_vcov | R Documentation | 
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.
coef_vcov(fit, theta_idx)
fit | 
 a regression model fit  | 
theta_idx | 
 numeric index for the theta related coefficients  | 
These functions are called in the cp and
cn calls.
A list with four elements
theta regression coefficients
all regression coefficients
subsection of variance-covariance matrix pertaining to the theta values
full variance-covariance matrix
coef cp cn
cp0 <- cp(log10(pdg) ~ bsplines(day, df = 6, bknots = c(-1, 1)) + age + ttm, data = spdg)
cv <- cpr:::coef_vcov(cp0$fit)
summary(cv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.