Why are these vectors different lengths?
length(rep(c(1, 0, 1, 0), times = 500 * c(.55, .45, .05, .95)))
# [1] 1000
length(rep(c(1, 0, 1, 0), times = 500 * c(.55, 1-.55, .05, 1-.05)))
# [1] 999
Why are these vectors different lengths?
length(rep(c(1, 0, 1, 0), times = 500 * c(.55, .45, .05, .95)))
# [1] 1000
length(rep(c(1, 0, 1, 0), times = 500 * c(.55, 1-.55, .05, 1-.05)))
# [1] 999