- data.Y
Response variable, can be an atomic vector, a one-column matrix or data frame,
recommended form is a one-column data frame with column name.
- data.W
A dataframe or matrix, represents \(W\), the measurement of \(X\).
Each row represents a subject. Each column represent a measurement (time) point.
- data.M
A dataframe or matrix, represents \(M\), the instrumental variable.
Each row represents a subject. Each column represent a measurement (time) point.
- t_interval
A 2-element vector, represents an interval,
means the domain of the functional covariate.
Default is c(0,1)
, represent interval \([0,1]\).
- t_points
Sequence of the measurement (time) points,
default is NULL
.
- CI.bootstrap
Whether to return the confidence using bootstrap method.
Default is FALSE
.