by: [EMAIL PROTECTED]
08/18/2006 05:16 PM
To
'Jesse Albert Canchola' [EMAIL PROTECTED], 'r-help'
r-help@stat.math.ethz.ch
cc
Subject
Re: [R] Permutations with replacement
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Jesse Albert Canchola
Sent
]
[mailto:[EMAIL PROTECTED] On Behalf Of Jesse Albert
Canchola
Sent: Friday, August 18, 2006 3:26 PM
To: r-help
Subject: [R] Permutations with replacement
Is there a simple function or process that will create a matrix of
permutations with replacement?
I know that using the combinat package
Is there a simple function or process that will create permutations with
replacement?
I know that using the combinat package
## begin R code ##
library(combinat)
m - t(array(unlist(permn(3)), dim = c(3, 6)))
# we can get the permutations, for example 3!=6
# gives us
m
[,1]
Is there a simple function or process that will create a matrix of
permutations with replacement?
I know that using the combinat package
## begin R code ##
library(combinat)
m - t(array(unlist(permn(3)), dim = c(3, 6)))
# we can get the permutations, for example 3!=6
# gives us
m
Of Jesse Albert
Canchola
Sent: Friday, August 18, 2006 3:26 PM
To: r-help
Subject: [R] Permutations with replacement
Is there a simple function or process that will create a matrix of
permutations with replacement?
I know that using the combinat package
## begin R code ##
library
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jesse Albert Canchola
Sent: Friday, August 18, 2006 1:02 PM
To: r-help
Subject: [R] Permutations with replacement
Is there a simple function or process that will create permutations with
replacement