jmv

Descriptives

Provides a range of descriptive statistics

Example usage

descriptives(data, vars=c('x', 'y', 'z'))
 

Arguments

data — the data as a data frame

vars — a vector of strings naming the variables of interest in data

meanTRUE (default) or FALSE, provide the mean

medianTRUE (default) or FALSE, provide the median

modeTRUE or FALSE (default), provide the mode

sumTRUE or FALSE (default), provide the sum

sdTRUE or FALSE (default), provide the standard deviation

varianceTRUE or FALSE (default), provide the variance

rangeTRUE or FALSE (default), provide the range

minTRUE or FALSE (default), provide the minimum

maxTRUE or FALSE (default), provide the maximum

seTRUE or FALSE (default), provide the standard error

skewTRUE or FALSE (default), provide the skewness

kurtTRUE or FALSE (default), provide the kurtosis

freqTRUE or FALSE (default), provide frequency tables (nominal, ordinal variables only)

plotsTRUE or FALSE (default), provide frequency tables (nominal, ordinal variables only)

plotW — an integer (default: 480) specifying the width of the plots

plotH — an integer (default: 320) specifying the height of the plots

quartTRUE or FALSE (default), provide quartiles

pcEqGrTRUE or FALSE (default), provide quantiles

pcNEqGr — an integer (default: 4) specifying the number of equal groups