Learn R Programming

xray (version 0.2)

distributions: Analyze each variable and generate a histogram describing it's distribution.

Description

Also returns a table of all numeric variables describind it's percentiles 1, 10, 25, 50 (median), 75, 90 and 99.

Usage

distributions(data_analyze, outdir, charts = T)

Arguments

data_analyze

a data frame to analyze

outdir

an optional output directory to save the resulting plots as png images

charts

set this to false to avoid generating charts, useful for batch script usage

Examples

Run this code
# NOT RUN {
library(xray)
distributions(mtcars)

# }

Run the code above in your browser using DataLab