transform_par_term: Transform parametric terms to varying coefficient terms
Description
Converts scalar covariates to smooth varying coefficient terms.
Usage
transform_par_term(term, yind_vec_name, bs_yindex)
Value
Transformed term string.
Arguments
- term
The term (call or symbol).
- yind_vec_name
Name of y-index vector (character).
- bs_yindex
Basis spec for y-index (named list).