View source: R/replace_na_range.R
replace_na_range | R Documentation |
Replace NAs randomly from a selected range with replacement
replace_na_range(x, range)
x |
Original numeric vector containing missing values. |
range |
Vector specifying the valid values to replace the missing values with |
replace_na_range(c(1,NA,2,3,1,NA,2),c(1,2,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.