Re: [R] creating a loop if to create a column of 0 and 1.

2013-04-03 Thread PIKAL Petr
ct.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Marco A. Pérez > Sent: Wednesday, April 03, 2013 1:00 AM > To: r-help@r-project.org > Subject: [R] creating a loop if to create a column of 0 and 1. > > > Hi, I am new with rstudio and i have a trouble with this prog

[R] creating a loop if to create a column of 0 and 1.

2013-04-02 Thread Marco A . Pérez
Hi, I am new with rstudio and i have a trouble with this program. I store 17 listsCPOD<-list()CPOD[[1]]<- GB1ACPOD[[2]]<- GB1CCPOD[[3]]<- GB1DCPOD[[4]]<- GB2ACPOD[[5]]<- GB2BCPOD[[6]]<- GB2CCPOD[[7]]<- GB2DCPOD[[8]]<- GB3ACPOD[[9]]<- GB3CCPOD[[10]]<- GB3DCPOD[[11]]<- GB4ACPOD[[12]]<- GB4CCPOD[[