Learn R Programming

refund (version 0.1-40)

transform_intercept_term: Transform intercept term to functional intercept

Description

Creates an s() smooth term for the functional intercept.

Usage

transform_intercept_term(yind_vec_name, bs_int, yind_name)

Value

List with `term_string` and `label`.

Arguments

yind_vec_name

Name of the y-index vector variable (character).

bs_int

Spline basis specification for intercept (named list).

yind_name

Name of y-index for labeling.