Simulated AR(1) with \(\phi=.9\) and \(\sigma_w=1\) and ~10% of the values missing at random (in this case, there happen to be 15 missing values). A similar data set can be generated as follows:
x = sarima.sim(ar=.9, n=100)
u = sample(c(NA,0), replace=TRUE, size=100, prob=c(.1,.9))
arm = x + u
Another approach if you want exactly 10 missing values is this:
arms = sarima.sim(ar=.9, n=100)
arms[sample(1:100, size=10)] = NA