numSummary
creates neatly formatted tables of means, standard deviations, skewness, kurtosis, and quantiles of numeric variables. Note that the e1071
package must be installed to compute skewness or kurtosis.
numSummaryIPSUR(data, statistics=c("mean", "sd", "skewness", "kurtosis","quantiles"),
quantiles=c(0, .25, .5, .75, 1), groups)
# S3 method for numSummaryIPSUR
print(x, ...)
a numeric vector, matrix, or data frame.
any of "mean"
, "sd"
, "skewness"
, "kurtosis"
,or "quantiles"
,
defaulting to the first four.
quantiles to report; default is c(0, 0.25, 0.5, 0.75, 1)
.
optional variable, typically a factor, to be used to partition the data.
object of class "numSummaryIPSUR"
to print.
arguments to pass down from the print method.
numSummaryIPSUR
returns an object of class "numSummaryIPSUR"
containing the table of
statistics to be reported along with information on missing data, if there are any.