rmixnorm | R Documentation |
generate a random mixture of normals
rmixnorm(n, p1, p2, shift, sel, CI)
n |
number of something |
p1 |
pr(event) in subgroup 1 |
p2 |
pr(event) in subgroup 2 |
shift |
scaled distance between means |
sel |
column name to select |
CI |
generate a CI (?) |
let's see how dplyr verbs work in production :-O
a data.frame
pps = rmixnorm(20, p1=0.25, p2=0.5, shift=15, sel='Bodyweight', CI=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.