Description Usage Arguments Value Examples

Returns a data frame containing descriptive statistics per sample.

1 | ```
descriptives(x)
``` |

`x` |
A data set |

`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.

1 2 3 4 5 6 7 | ```
## 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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.