Displaying 1 result from an estimated 1 matches for "tp1560547p1560547".
2010 Feb 18
2
Funny result from rep(...) procedure
...# i value to repeat 6 times
[1] 6 # ni = 6 on 2nd pass
[1] 6 2 2 2 2 2 # 6 'twos' but only shows 5 'twos'
print(c(ni,rep(i,times=ni))) - why not 6?
--
View this message in context: http://n4.nabble.com/Funny-result-from-rep-procedure-tp1560547p1560547.html
Sent from the R help mailing list archive at Nabble.com.