Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 204715

Question regarding use of Rep() function in R

$
0
0

How can I generate a vector, which has a value of 1 for the first four rows, 2 for the next four rows, etc. until you have 40 four times In R.


Viewing all articles
Browse latest Browse all 204715

Trending Articles