Description Usage Arguments Value Author(s) Examples

Perform a sign test for a paired sample on variables of a data set. The output is printed as a LaTeX table that mimics the look of SPSS output (version <24).

1 2 3 4 |

`data` |
a data frame containing the variables. |

`variables` |
a character vector specifying two numeric variables containing the paired observations. |

`exact` |
a logical indicating whether or not to include the exact p-value using the binomial distribution. Note that the p-value using the normal approximation is always reported. |

`x` |
an object of class |

`digits` |
an integer giving the number of digits after the comma to be printed in the LaTeX tables. |

`statistics` |
a character vector specifying which LaTeX tables should
be printed. Available options are |

`...` |
currently ignored. |

An object of class `"signTestSPSS"`

with the following
components:

`statistics`

a data frame containing information on the number of observations with negative and positive differences.

`asymptotic`

a list containing the results of the test using the normal approximation.

`exact`

if requested, a numeric vector containing the exact two-sided p-value, one-sided p-value, and point probability using the binomial distribution.

`variables`

a character vector containing the names of the two numeric variables with the paired observations.

`n`

an integer giving the number of observations.

The `print`

method produces a LaTeX table that mimics the look of SPSS
output (version <24).

Andreas Alfons

1 2 3 4 5 6 |

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.