vect.clean | R Documentation |
Replaces missing values of a vector by a given value
vect.clean(v, x = 0)
v |
vector of any type: Vector containing missing values ( |
x |
Scalar value same type as |
Vector same type as v
: in which missing values are replaced by x
vect.clean(c(1, NA, 3), 2) [1] 1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.