histogramGrid: A function to plot histograms for all given variables in a...

Description Usage Arguments Value

Description

A function to plot histograms for all given variables in a dataset and arrange them in a grid

Usage

1
histogramGrid(dt, vars = NA, ncols = 2, binwidth = NULL)

Arguments

dt

Data.frame containing the variables to plot

vars

Variables to use for the histogram grid

ncols

Number of columns in histogram grid. Default: 2

binwidth

Custom binwidth for the plots. Currently this parameter is used for every historgram

Value

Plots a grid of histograms


Somtom/somtomlib documentation built on May 28, 2019, 3:16 p.m.