Description Usage Arguments Value
Helper function to check a given object defining (between-treatment) comparisons as ratios or contruct a suitable list of two matrices of linear combinations
for numerator and denominator given one of a character string available in contrMatRatio
in package mratios. For internal use.
1 | treatcon2cmatratio(treatcon, base, ntab)
|
treatcon |
either a list of 2 matrices with numeric entries, or a single character string; if a list of 2 matrices: number of columns must be = number of treatment levels in the factor variable rows specifies contrasts between treatments; if a character string: character string will be passed to the type-argument in |
base |
a single integer, indicating which treatment level shoudl serve as a control, when passed to |
ntab |
a (named) vector with sample sizes in the treatment groups, to be passed to argument |
a list containing two matrices to be used in gsci.ratio
(package mratios)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.