p.q.frame | R Documentation |
Permutes a pair of variables, p and q, by a data frame such that each frame row contains a unique p-q permutation.
p.q.frame(v = vector())
v |
Source vector. |
Permutation frame.
p.q.frame(c("a", "b")) #> p q #> 1 a b #> 2 b a p.q.frame(1:3) #> p q #> 1 1 2 #> 2 1 3 #> 3 2 1 #> 4 2 3 #> 5 3 1 #> 6 3 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.