I am having an issue with the R function rep or maybe its something simpler that I am doing wrong.
k = ((100)*(1-0.9))
k # k = 10
length(rep(0,times = k)) # length of 9 instead of 10
length(rep(0,times = 10) # length of 10 !
This is really weird as the variable k has 10 as value.