
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 version deleted]]

