| gen_pm_designs_cpp_wrap | R Documentation |
Create PM designs
gen_pm_designs_cpp_wrap(indicies_pairs, n, r)
indicies_pairs |
A matrix of n x 2 indicies where each row is a pair of subjects' indicies |
n |
Half the number of subjects i.e. the number of pairs |
r |
The number of assignments to generate |
A matrix of r x 2n PM designs of +1/-1 assignments
Adam Kapelner
## Not run:
indicies_pairs = matrix(c(1, 2, 3, 4), ncol = 2, byrow = TRUE)
gen_pm_designs_cpp_wrap(indicies_pairs, n = 2, r = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.