View source: R/Pearson_LR_tests_cum_OR_2xc.R
Pearson_LR_tests_cum_OR_2xc | R Documentation |
The Pearson chi-squared and likelihood ratio tests for cumulative ORs in 2xc tables
Described in Chapter 6 "The Ordered 2xc Table"
Pearson_LR_tests_cum_OR_2xc(n, direction = "decreasing")
n |
the observed counts (a 2xc matrix) |
direction |
the direction of column probabilities ("increasing" or "decreasing") |
An object of the contingencytables_result class,
basically a subclass of base::list()
. Use the utils::str()
function
to see the specific elements returned.
# Postoperative nausea (Lydersen et al., 2012a)
Pearson_LR_tests_cum_OR_2xc(lydersen_2012a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.