s_date_FPR | R Documentation |
s_date_FPR
creates design matrices for FPR regressions;
s_date_FPR(Rdate, Y, basis = "ps", dof = 10, ...)
Rdate |
a vector of dates of R format |
Y |
Binary case/control status; 1 for case; 0 for controls |
basis |
"ps" for penalized-splines based on B-spline basis functions |
dof |
Degree-of-freedom for the bases.For "ps" basis,
the number of columns is |
... |
Other arguments as in |
Design matrix for FPR regression, with cases' rows on top of controls'.
nplcm()
data(data_nplcm_reg_nest)
s_date_FPR(data_nplcm_reg_nest$X$DATE,data_nplcm_reg_nest$Y,basis='ps',dof=7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.