
Evaluates the prevalence of a list of features in the whole dataset and per each class
getFeaturePrevalence.Rd
Evaluate the prevalence of a given model
Arguments
- features:
a list of features or features indexes for which we wish to compute prevalence
- X:
dataset where to compute the prevalence
- y:
if provided it will also compute hte prevalence per each class (default:NULL)
- prop:
weather to compute the prevalence in number or as a proportion (default:TRUE)
- zero.value:
the value that specifies what is zero. This can be a different than 0 in log transformed data for instance (default = 0)