$ 0 0 @ramhiser What I mean is that is the vector is length 1, sample(v) should yield a sequence. sample(v, 1) would be redundant. #Rstats