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.
N
Number 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).
median
Median value of a sample–before removing any non-positive values.
mean
Mean value of a sample–before removing any non-positive values.
SD
Standard deviation in a sample–before removing any non-positive values.
skewness
Skew, or the amount of non-symmetry, in a sample–before removing any non-positive values.
kurtosis
Kurtosis in a sample–before removing any non-positive values.
minimum
Minimum value of a sample–before removing any non-positive values.
maximum
Maximum value of a sample–before removing any non-positive values.
No.of.SDs
Number 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)