View source: R/phenorm_longit_fit.R
phenorm_longit_fit | R Documentation |
Apply simplified 'PheNorm' algorithm on longitudinal data with bootstrap and noise.
phenorm_longit_fit(
x_matrix,
y_sur,
ID,
size = 10^5,
seed = 1,
p.noise = 0.3,
do_sampling = TRUE,
do_noise = TRUE,
prob = NULL,
calc.prob = TRUE,
nAGQ = 0,
glmer.control = glmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 2e+05))
)
x_matrix |
x matrix to sample, noise and predict on |
y_sur |
surrogate with 3 values (0 and 1 the extremes and 3 middle patients) |
ID |
Vector of patient ID |
size |
size of sampling. default is 10^5 |
seed |
seed. default is 1. |
p.noise |
noise probability parameter. default is .3. |
do_sampling |
should algorithm do sampling. default is TRUE. |
do_noise |
should algorithm do noise. default is TRUE. |
prob |
sampling probability during noising denoising step |
calc.prob |
should the 'prob' argument be calculated |
nAGQ |
glmer parameter |
glmer.control |
glmer parameter |
A list with the fixed effects, the predicted responses and the model used (mixed effect or logistic regression)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.