Try this:
c(rbind(ColA, ColB))
On Thu, Dec 9, 2010 at 3:30 PM, Ross, Stephanie wrote:
> Hello,
>
> I have a general formatting question. I have two columns of data:
>
> ColA <- c("m", "m", "m", "m")
> ColB<- c("d","d","d","d")
>
> And I would like to reorder them into a new column that looks lik
One way:
as.vector(t(cbind(ColA, ColB)))
Ross, Stephanie wrote:
Hello,
I have a general formatting question. I have two columns of data:
ColA <- c("m", "m", "m", "m")
ColB<- c("d","d","d","d")
And I would like to reorder them into a new column that looks like this:
ColC<- c("m","d","m","d",
Hello,
I have a general formatting question. I have two columns of data:
ColA <- c("m", "m", "m", "m")
ColB<- c("d","d","d","d")
And I would like to reorder them into a new column that looks like this:
ColC<- c("m","d","m","d","m","d","m","d")
Thank you!
Stephanie
___
3 matches
Mail list logo