summ {rchemo} | R Documentation |
Description of the quantitative variables of a data set
Description
Displays summary statistics for each quantitative column of the data set.
Usage
summ(X, nam = NULL, digits = 3)
Arguments
X |
A matrix or data frame containing the variables to summarize. |
nam |
Names of the variables to summarize (vector of character strings). Default to |
digits |
Number of digits for the numerical outputs. |
Value
tab |
A dataframe of summary statistics : |
ntot |
number of observations |
Examples
dat <- data.frame(
v1 = rnorm(10),
v2 = c(NA, rnorm(8), NA),
v3 = c(NA, NA, NA, rnorm(7))
)
dat
summ(dat)
summ(dat, nam = c("v1", "v3"))
[Package rchemo version 0.1-2 Index]