Description Usage Arguments Details Value Examples
View source: R/td.nullreplace.R
Function which replaces null values within a td data frame and column.
1 | td.nullreplace(tdf, col, oTable, oDatabase = "", rType = "literal", rVal = "0")
|
tdf |
td data frame. |
col |
column name. |
oTable |
output table name. |
oDatabase |
output database name. |
rType |
type of replacement. Valid values are ("literal","mean","mode", and "median"). |
rVal |
value for literal replacement. |
Build new table with column name after replacement is done via rType.
td data frame pointing to new Teradata table with NULLs replaced.
1 2 3 4 | ## Not run:
td.nullreplace(tdf,"age","newReplaceTable", rVal="16")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.