phenorm_longit_fit {PheVis} | R Documentation |
phenorm_longit_fit
Description
Apply simplified 'PheNorm' algorithm on longitudinal data with bootstrap and noise.
Usage
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))
)
Arguments
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 |
Value
A list with the fixed effects, the predicted responses and the model used (mixed effect or logistic regression)
[Package PheVis version 1.0.4 Index]