| na_literal | R Documentation |
Replaces NA, NULL, or a typed NA constant (NA_real_, NA_integer_,
NA_complex_, NA_character_) with another value.
na_literal(from, to)
from |
The literal to replace. One of |
to |
The replacement literal. |
In tree-sitter-r, NA and all typed NA variants share the same na node
type, while NULL has its own null node type. match_fn distinguishes
between them by comparing the literal text.
A Mutator object.
na_literal("NULL", "NA")
na_literal("NA", "NULL")
na_literal("NA", "NA_real_")
na_literal("NA_real_", "NA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.