required_n | R Documentation |
required_n(final, attrition = 0.1, trials = 1)
final |
integer target n |
attrition |
The decimal rate of attrition from 0 (0 \itemtrialsAn integer number of measurement points over which attrition occurs (i.e. after the first measurement). If calculating loss to missingness, specify as 1. |
An integer of the required starting sample A function for calculating the required starting sample to correct for attrition and incomplete data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.