View source: R/phenorm_longit_simpl.R
phenorm_longit_simpl | R Documentation |
'PheNorm' like function adapted to longitudinal data.
phenorm_longit_simpl(
df,
var_surrogate,
surrogates_quali,
id_rnd,
rf = FALSE,
ntree = 100,
bool_weight = FALSE,
p.noise = 0.3,
bool_SAFE = TRUE,
size = 10^5
)
df |
dataframe |
var_surrogate |
variables used for building the surrogates |
surrogates_quali |
numeric vector of the qualitative surrogate |
id_rnd |
ID for random effect |
rf |
should pseudo-labellisation with random forest be used (default is FALSE) |
ntree |
number of tree for |
bool_weight |
should the sampling probability balance the number of positive and negative extrema. |
p.noise |
percentage of noise introduced during the noising step |
bool_SAFE |
A boolean. If TRUE, SAFE selection is done, else it is not (default is TRUE) |
size |
minimum size of sampling |
A list with the logistic model, the random forest model, the variables selected for prediction and the predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.