Below is the series need to get using R with rep and seq series : 'a','a',1,2,3,4,5,7,9,11
I am Leaning R as beginner. Please try to help me on the above query
Below is the series need to get using R with rep and seq series : 'a','a',1,2,3,4,5,7,9,11
I am Leaning R as beginner. Please try to help me on the above query
Maybe this albeit not the best way:
myseq=c(rep("a",2),seq(1,5,1),seq(7,11,2))