View source: R/relop_null_replace.R
ex_data_table_step.relop_null_replace | R Documentation |
data.table
based implementation.
## S3 method for class 'relop_null_replace'
ex_data_table_step(
optree,
...,
tables = list(),
source_usage = NULL,
source_limit = NULL,
env = parent.frame()
)
optree |
relop operations tree. |
... |
not used, force later arguments to bind by name. |
tables |
named list map from table names used in nodes to data.tables and data.frames. |
source_usage |
list mapping source table names to vectors of columns used. |
source_limit |
if not null limit all table sources to no more than this many rows (used for debugging). |
env |
environment to work in. |
dL <- build_frame(
"x", "y" |
2L , 5 |
NA , 7 |
NA , NA )
rquery_pipeline <- local_td(dL) %.>%
null_replace(., c("x", "y"), 0, note_col = "nna")
dL %.>% rquery_pipeline
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.