View source: R/func_orthogonal_scores.R
orthogonal_scores | R Documentation |
orthogonal_scores
returns orthogonal scores weighted by prevalence in
the data.
orthogonal_scores(x, degree, n_strata = 1)
x |
a vector of scores, either a factor or numeric. |
degree |
the degree of orthogonal scores required. |
n_strata |
optional argument for indicating the number of strata to apply the scores to. |
Returns a matrix of orthogonal scores.
Rayner, J.C.W and Livingston, G. C. (2022). An Introduction to Cochran-Mantel-Haenszel Testing and Nonparametric ANOVA. Wiley.
attach(jam) orthogonal_scores(x = sweetness, degree = 2, n_strata = 8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.