| descriptives {Dpit} | R Documentation |
descriptives
Description
Returns a data frame containing descriptive statistics per sample.
Usage
descriptives(x)
Arguments
x |
A data set |
Value
Negative.values?Whether or not there are any negative values in a sample. If there is at least one negative value, then the program will print out "Negative values detected" in the relevant cell. If there are no negative values, then the program will leave the cell blank.
zeros?Whether or not there are any zero values in a sample. If there is at least one zero value, then the program will print out "zero values detected" in the relevant cell. If there are no negative values, then the program will leave the cell blank.
NNumber of observations in a sample–before the package removes any non-positive values that lead to incalculable expressions (e.g., the log of zero is undefined).
medianMedian value of a sample–before removing any non-positive values.
meanMean value of a sample–before removing any non-positive values.
SDStandard deviation in a sample–before removing any non-positive values.
skewnessSkew, or the amount of non-symmetry, in a sample–before removing any non-positive values.
kurtosisKurtosis in a sample–before removing any non-positive values.
minimumMinimum value of a sample–before removing any non-positive values.
maximumMaximum value of a sample–before removing any non-positive values.
No.of.SDsNumber of standard deviations contained by a sample. That is: (maximum value - minimum value) / standard deviation.
Examples
## Not run:
#The following example uses FourSamples.rda, which is a data set included in the package.
data(file = "FourSamples.rda")
out<-descriptives(FourSamples)
## End(Not run)