powered by
sim
obs
valindex(obs, sim)
is.na
which
sim <- 1:5 obs <- c(1, NA, 3, NA, 5) valindex(sim, obs)
Run the code above in your browser using DataLab