Nothing
x
Code
na_if(0L, 1.5)
Condition
Error in `na_if()`:
! Can't convert from `y` <double> to `x` <integer> due to loss of precision.
* Locations: 1
x
Code
na_if(1, integer())
Condition
Error in `na_if()`:
! Can't recycle `y` (size 0) to size 1.
Code
na_if(1, c(1, 2))
Condition
Error in `na_if()`:
! Can't recycle `y` (size 2) to size 1.
Code
na_if(c(1, 2, 3), c(1, 2))
Condition
Error in `na_if()`:
! Can't recycle `y` (size 2) to size 3.
x
and y
Code
na_if(environment(), 1)
Condition
Error in `na_if()`:
! `x` must be a vector, not an environment.
Code
na_if(1, environment())
Condition
Error in `na_if()`:
! `y` must be a vector, not an environment.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.