Learn R Programming

MiMIR (version 1.5)

multi_hist: multi_hist

Description

#' Function to plot the histograms for all the variables in dat

Usage

multi_hist(dat, color = MiMIR::c21, scaled = FALSE)

Value

plotly image with the histograms for all the variables in dat

Arguments

dat

data.frame or matrix with the variables to plot

color

colors selected for all the variables

scaled

logical to z-scale the variables

Examples

Run this code
# \donttest{
library(plotly)
library(MiMIR)

#load the dataset
metabolic_measures <- synthetic_metabolic_dataset

multi_hist(metabolic_measures[,MiMIR::metabolites_subsets$MET14], scaled=T)
# }

Run the code above in your browser using DataLab