CountAll: CountAll Descriptive Analysis of all Variables in the Data...

View source: R/CountAll.R

CountAllR Documentation

CountAll Descriptive Analysis of all Variables in the Data Frame

Description

Automatically call the following functions in this package: SummaryStats, Histogram and BarChart. The result is set of summary statistics for every variable in the data frame, by default called d, a histogram for each numerical variable and a bar chart for each categorical variable.

Usage

CountAll(x=d, quiet=FALSE, ...)

ca(...)

Arguments

x

Data frame that contains the variables to analyze, by default d.

quiet

Suppress text output if TRUE.

...

Other parameter values for graphics.

Details

CountAll is designed to work in conjunction with the lessR function Read, which reads a csv or other formatted data file into the data frame d. All the bar charts and associated summary statistics are written to one file and all the histograms and associated summary statistics for the numerical variables are written to another file.

Author(s)

David W. Gerbing (Portland State University; gerbing@pdx.edu)

See Also

SummaryStats, Histogram, BarChart.

Examples

# create data frame called d
n <- 12
X <- sample(c("Group1","Group2"), size=n, replace=TRUE)
Y <- rnorm(n=n, mean=50, sd=10)
d <- data.frame(X,Y)
rm(X); rm(Y);

# CountAll descriptive analysis of d
CountAll()
# short name
ca()

lessR documentation built on June 23, 2024, 1:06 a.m.