View source: R/predictors_functions.R
multi_hist | R Documentation |
#' Function to plot the histograms for all the variables in dat
multi_hist(dat, color = MiMIR::c21, scaled = FALSE)
dat |
data.frame or matrix with the variables to plot |
color |
colors selected for all the variables |
scaled |
logical to z-scale the variables |
plotly image with the histograms for all the variables in dat
library(plotly) library(MiMIR) #load the dataset metabolic_measures <- synthetic_metabolic_dataset multi_hist(metabolic_measures[,MiMIR::metabolites_subsets$MET14], scaled=T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.