plot_distributions: Density plots of variables

Description Usage Arguments Details

View source: R/plot_funcs.r

Description

Given a matrix plot the density of the listed variables using ggplot2 facet_wrap.

Usage

1
plot_distributions(X, variables = NULL, labels = NULL)

Arguments

X

An nxd matrix with samples as rows and features as columns.

variables

Optional vector of column names to be plotted

lables

Optional vector of class labels to view distributions by class

Details

If the matrix X is more than 10,000 samples, a random 10,000 samples will be selected to keep the amount of data plotted reasonable.


ant-stephenson/lhc documentation built on Jan. 28, 2021, 3:47 p.m.