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

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 201894

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>