'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
)A list with the logistic model, the random forest model, the variables selected for prediction and the predictions
dataframe
variables used for building the surrogates
numeric vector of the qualitative surrogate
ID for random effect
should pseudo-labellisation with random forest be used (default is FALSE)
number of tree for randomforest (default is 100)
should the sampling probability balance the number of positive and negative extrema.
percentage of noise introduced during the noising step
A boolean. If TRUE, SAFE selection is done, else it is not (default is TRUE)
minimum size of sampling