getFunctions: Returns slot 'Functions' from an object of class StQT

Description Usage Arguments Value Examples

Description

getFunctions extracts slot Functions from an StQT object.

Usage

1
2
3
4
getFunctions(object)

## S4 method for signature 'StQT'
getFunctions(object)

Arguments

object

Object of class StQT

Value

A list corresponding to the slot Functions of the input parameter.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
rules <- data.frame(domain = c('!is.na(Variable)','is.na(Variable)',''),
                    output = c('MediaVariable','Variable','MediaVariable'),
                    fun =    c('mean','identity','FunDelVar'),
                    input =  c('Variable','MediaVariable',''),
                    by =     c('Estrato','',''),
                    key =    c('Estrato','',''),
                    stringsAsFactors = FALSE)
T1 <- NewStQT(rules)
T1
getFunctions(T1)

Luis-Sanguiao/StQT documentation built on May 7, 2019, 2:03 p.m.