distributions {xray}R Documentation

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

library(xray)
distributions(mtcars)


[Package xray version 0.2 Index]