Gen_x_z: Generate the covariates

Description Usage Arguments Value References

View source: R/Gen_x_z.R

Description

Generate the scalar and the functional covariates for one subject at given time points in the simulations.

Usage

1
Gen_x_z(time_number, time_point, u_time, len_k)

Arguments

time_number

the number of the observation time points for the subject.

time_point

a vector of the time points.

u_time

length of the observation time in the u direction.

len_k

number of the basis function used when generating the functional parameter.

Value

z_temp_value

values of the scalar covariates at the observation time points.

x_temp_value

values of the functional covariate at the observation time points.

beta_temp_value

values of the functional parameter at the observation time points.

References

see the paper "Generalized functional partial varying-coefficient model".


BIG-S2/GFPLVCM documentation built on May 23, 2019, 5:01 a.m.