powered by
Displays retained features for different values of alpha in a bar plot.
FS_barplot( data = NULL, grid.alpha = seq(0.01, 0.99, by = 0.01), missing = FALSE, pv_adj = "none", smooth.tol = 10^-12, method = "c" )
Displays a bar plot depicting which features are selected at each value of alpha (multiplied by 100) and a list with elements:
Vector depicting how many alphas a variable is selected for
Vector depicting the corresponding names of the features
A data frame. Values of type 'numeric' or 'integer' are treated as numerical.
A vector of alpha values to be plotted, default = seq(0.01,0.99,by=0.01).
Pairwise complete by default, set to TRUE for complete deletion.
Correction method for p-value, "none" by default. For options see p.adjust.
Minimum acceptable eigenvalue for the smoothing, default 10^-12.
Algorithm used. c (cell-wise) by default, r (row-wise) as the alternative.
Tortora C., Madhvani S., Punzo A. (2025). Designing unsupervised mixed-type feature selection techniques using the heterogeneous correlation matrix. International Statistical Review. https://doi.org/10.1111/insr.70016
# \donttest{ data(ESI) data=ESI[,-c(1,3,4,6,9)]##removing categorical features FS_barplot(data, pv_adj='BH') #using BH adkustment for the p-values # }
Run the code above in your browser using DataLab