Description Usage Arguments Examples
Evaluate expr
with all vector coercion warnings turned off. Other
warnings are not muffled.
1 | muffle_vec_coerce(expr)
|
expr |
Expression to evaluate. |
1 2 3 4 5 6 | # Coercing incompatible factors is lossy because it returns a
# character vector that has lost the levels information. Use
# muffle_vec_coerce() to silence this kind of warning:
f1 <- factor("foo")
f2 <- factor("bar")
muffle_vec_coerce(vec_coerce(f1, f2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.