Re: [R] issue creating a subset

2013-03-04 Thread Pablo Menese
Thanks a lot!!! On Mon, Mar 4, 2013 at 12:46 PM, MacQueen, Don wrote: > What Jim said separately is correct, and I would suggest following his > advice. > But there are some points worth looking at in your method. > > See this example: > > > item1 <- item2 <- item3 <- item4 <- 1:4 > > > > matri

Re: [R] issue creating a subset

2013-03-04 Thread MacQueen, Don
What Jim said separately is correct, and I would suggest following his advice. But there are some points worth looking at in your method. See this example: > item1 <- item2 <- item3 <- item4 <- 1:4 > > matrix1<-cbind(item1, item2, item3, item4) > > z <- c(TRUE,TRUE,FALSE,TRUE) > > matrix2 <- c

Re: [R] issue creating a subset

2013-02-28 Thread Jim Lemon
On 03/01/2013 12:53 PM, Pablo Menese wrote: I'm performing item response theory with eRm packages I am excluding the persons that doesn't fit in the infit/outfit persons. for that I created a condition. then I have to create a new subset or matrix but with the condition. So: ORIGINAL matrix<-c

[R] issue creating a subset

2013-02-28 Thread Pablo Menese
I'm performing item response theory with eRm packages I am excluding the persons that doesn't fit in the infit/outfit persons. for that I created a condition. then I have to create a new subset or matrix but with the condition. So: ORIGINAL matrix<-cbind(item1, item2, item3, item4) IF I PERFORM