View source: R/multilevel_data_sim.R
retentionadjustvisits | R Documentation |
simulate multilevel bivariate normal dist with a random intercept
retentionadjustvisits(nsubject, nvisits, retention_or_total)
nsubject |
how many subjects |
nvisits |
how many visits each |
retention_or_total |
ratio of retained (0<x<1) or total (x>=1) |
retentionadjustvisits(100,2,.8) # using retention
retentionadjustvisits(100,2,160) # using total
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.