Definition of an S4 class named StQT
for data transformation.
The structure of the class StQT
comprises 2 attributes:
The attribute Rules
, which is a data.frame with the transformation rules.
The attribute Functions
, which is a list of the functions used in the rules.
The rules are represented with the following fields in the Rules
data.frame.
Specifies where the rule is applied
Output variables
Function to apply
Input variables
Variables to group by
Variables to order by
Key of the output variables
1 2 3 4 5 6 7 8 9 10 11 12 13 | T1 <- new(Class = 'StQT', Rules = data.frame(
domain="",
output="VAR",
fun="*",
input="SD,SD",
by="",
order="",
key="",
stringsAsFactors = FALSE),
Functions = list(`*`=`*`))
T1
getRules(T1)
getFunctions(T1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.