Description
The ScaleMap function is designed for internal use only; its output is not
intended for human interpretation. The ScaleMap function calculates and
outputs statistical information for a data set at the vworker level.
The output of the ScaleMap function is intended to be input to the functions
Scale (td_scale_mle
, which calculates scaled values for the data set)
and ScaleSummary (td_scale_summary_mle
, which calculates global statistics for
the data set).
Usage
td_scale_map_mle (
data = NULL,
input.columns = NULL,
miss.value = "KEEP",
data.sequence.column = NULL,
data.order.column = NULL
)
Arguments
data |
Required Argument. |
data.order.column |
Optional Argument. |
input.columns |
Required Argument. |
miss.value |
Optional Argument.
|
data.sequence.column |
Optional Argument. |
Value
Function returns an object of class "td_scale_map_mle" which is a
named list containing object of class "tbl_teradata".
Named list member can be referenced directly with the "$" operator
using name: result.
Examples
# Get the current context/connection
con <- td_get_context()$connection
# Load example data about houses.
loadExampleData("scalemap_example", "scale_housing")
# Create object(s) of class "tbl_teradata".
scale_housing <- tbl(con, "scale_housing")
# Example 1 - This example calculates and outputs statistical information.
td_scale_map_out <- td_scale_map_mle(data = scale_housing,
input.columns = colnames(scale_housing)[2:7],
miss.value = "omit"
)