Last chance! 50% off unlimited learning
Sale ends in
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.
CountAll(x=d, quiet=FALSE, …)ca(…)
Data frame that contains the variables to analyze, by default d
.
Suppress text output if TRUE
.
Other parameter values for graphics.
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.
# NOT RUN {
# 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()
# }
Run the code above in your browser using DataLab