Sorry for the imprecision. I haven't used r for a long time...
> CC: r-help@r-project.org
> From: dwinsem...@comcast.net
> To: rhel...@hotmail.com
> Subject: Re: [R] Quick question about duplicating vectors
> Date: Sun, 3 Apr 2011 18:17:55 -0400
>
>
> On Apr 3,
On Apr 3, 2011, at 6:04 PM, Xiaoxi Gao wrote:
Hello R users,
I have a quick question, if I have a data set a, say
a <- c(1,2,3,4,5)
You might as well learn to use more precise R terminology... that is a
`vector`.
and I want to get a new data set b,
b <- c(1,1,1,2,2,2,3,3,3,4,4,4,5,5,5)
Hello R users,
I have a quick question, if I have a data set a, say
a <- c(1,2,3,4,5)
and I want to get a new data set b,
b <- c(1,1,1,2,2,2,3,3,3,4,4,4,5,5,5)
Could anyone tell me how I can obtain this?
Thank you!
Xiaoxi
[[alternative HTML ver
3 matches
Mail list logo