to_na | R Documentation |
NA
Given a vector i
indexing the elements of x
, sets the selected elements
of x
to NA
.
to_na(x, i)
x |
vector of values |
i |
vector of values used to subset |
Returns x
with possibly some elements set to NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.