desc | R Documentation |
Computes mean
, standard deviation (sd
), minimum value (min
),
maximum value (max
),
and univariate normal statistics (normal?
) for a variable
desc(data, column, histplot = TRUE)
data |
A matrix or data frame |
column |
Column name or number in |
histplot |
A histogram plot of the variable |
A data frame containing values for n
(number of cases),
missing
(number of missing cases), mean
, sd
, min
, and max
. normal?
will contain yes/no for whether the variable is normally distributed based
on the shapiro.test
for a variable
Alexander Christensen <alexpaulchristensen@gmail.com>
desc(neoOpen,1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.