Re: [R] Building a data frame with missing data

2008-07-25 Thread Henrique Dallazuanna
Try: color<- c("red",NA,"orange","green",NA,NA,NA) size<- c(2,1,NA,3,NA,NA,8) data.frame(color, size) On Fri, Jul 25, 2008 at 7:33 AM, Natalia Quinteros <[EMAIL PROTECTED]> wrote: > Hi List, > > I'm trying to built a list where there are some missing data in some > columns, then I would like to

[R] Building a data frame with missing data

2008-07-25 Thread Natalia Quinteros
Hi List, I'm trying to built a list where there are some missing data in some columns, then I would like to know what I should put in these blank spaces when building the vector. eg: color<- c("red",?,"orange","green",?,?,?) size<- c(2,1,?,3,?,?,8) Thanks, Natalia [[alternative HTML ve