Returns \(\hat\beta\) as a named numeric vector. Under the package's
design (X_design = cbind(1, B*x_1, ..., B*x_K), see
build_vcmm_design), entry 1 is the constant intercept
and entries (1 + (k-1)*m + 1):(1 + k*m) are the spline basis
coefficients for the \(k\)-th varying coefficient
\(\beta_k(t)\).
Usage
# S3 method for class 'vcmm_fit'
coef(object, ...)Details
To evaluate \(\beta_k(t)\) at user-supplied t values, use
varying_coef. To get the same vector reshaped into a
(basis x covariate) matrix with the intercept split out, use
fixef.vcmm_fit.