[R] Subset Quirk?

2007-09-13 Thread VTLT1999
Hello All, I am trying to subset a matrix using subset() and it works fine when I use matrix notation, but doesn't work when I use established column names. Sample code is below: library(mvtnorm) library(sm) library(ltm) library(irtoys) k<- 100 set.seed(271828) t <- rmvnorm(n=k,mean=c(-1,0,1),

Re: [R] Generating Replicate Datasets (using loops or other means)

2007-09-11 Thread VTLT1999
nt to keep a1,b1,c1,... unchanged but have 30 different sets of random numbers? Regards, Moshe. --- VTLT1999 <[EMAIL PROTECTED]> wrote: > > Hello All, > > I have searched many help forums, message boards, > etc. and I just can't > apply the comments to what I need m