Learn R Programming

DynTxRegime (version 4.15)

TxInfoFactor-methods: Methods Available for Objects of Class TxInfoFactor

Description

Methods Available for Objects of Class TxInfoFactor

.compareTx(object, vec1, vec2) compares vec1 and vec2 to identify equivalent elements.

.convertFromBinary(txObj, txVec) converts a -1/1 Tx to user provided tx coding

.compareTx(object, vec1, vec2) converts txVec to factor.

.getLevels(object, txVec) determines tx levels contains in txVec.

Usage

# S4 method for TxInfoFactor,factor,factor
.compareTx(object, vec1, vec2)

# S4 method for TxInfoFactor .convertFromBinary(txObj, txVec, ...)

# S4 method for TxInfoFactor .convertTx(object, txVec)

# S4 method for TxInfoFactor,factor .getLevels(object, txVec)

Arguments