Description Usage Arguments Details Value Examples
Proportional data are commonly modelled using a glm approach with logit link function. When performing the logit transformation in advance separately, simple OLS methods can be applied.
1 | beta2m(b)
|
b |
vector or matrix holding the original data |
Data are transformed according to M=log2(b⁄1-b) . The input data are assumed to have the range 0<b<1. Data outside this range will lead to missing values. Corner cases (data of b=0 or b=1) can be handled by use of fixlimits().
A named vector/matrix with same dimensions as b and log2 transformed values
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.