Description Usage Arguments Value References Examples

View source: R/CousineauLaurencelleLambda.R

The functions CousineauLaurencelleLambda() returns the correction factor for cluster-randomized sampling. This correction is then used in a variety of ways, for example, to get the effective number of participants (in a power study) or to correct a t-test. See \insertCitecl16superb.

1 | ```
CousineauLaurencelleLambda(paramvector)
``` |

`paramvector` |
A vector with, in that order, the intra-class correlation r, the number of clusters, then the number of participants in all the clusters. |

lambda the correction factor for cluster-randomized sampling.

1 2 3 | ```
# Example from Cousineau & Laurencelle, 2017, p. 124:
CousineauLaurencelleLambda( c(0.2, 5, 20, 20, 20, 20, 20) )
# 2.234188
``` |

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.