powered by
Principal Component Analysis of mrIML variable importance
mrVipPCA(mrVip_obj)
A list of PCA results:
$PCA_plot: Side-by-side plots of the different response models on the first two principal components (PCs) and a Scree plot.
$PCA_plot
$PC_outliers: A list of the models flagged as outliers on at least one of the PCs.
$PC_outliers
$eigenvalues: The eigenvalues associated with the principal components.
$eigenvalues
$PC_scores: The PC scores of each response model.
$PC_scores
A list returned by mrVip().
mrVip()
# Without bootstrap mrIML_rf <- mrIML::mrIML_bird_parasites_RF mrIML_rf_vip <- mrVip(mrIML_rf, taxa = "Plas") vipPCA_results <- mrIML_rf_vip %>% mrVipPCA()
Run the code above in your browser using DataLab