powered by
NA
Given a vector i indexing the elements of x, sets the selected elements of x to NA.
i
x
to_na(x, i)
Returns x with possibly some elements set to NA
vector of values
vector of values used to subset x