powered by
Displays summary statistics for each quantitative column of the data set.
summ(X, nam = NULL, digits = 3)
A dataframe of summary statistics : \(NbVal\), \(Mean\), \(Min.\), \(Max.\), \(Stdev\), \(Median\), \(X1st.Qu.\), \(X3rd.Qu.\), \(NbNA\)
number of observations
A matrix or data frame containing the variables to summarize.
Names of the variables to summarize (vector of character strings). Default to NULL (all the columns are considered).
NULL
Number of digits for the numerical outputs.
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"))
Run the code above in your browser using DataLab