TxSubset-methods: Methods Available for Objects of Class 'TxSubset'

TxSubset-methodsR Documentation

Methods Available for Objects of Class TxSubset

Description

Methods Available for Objects of Class TxSubset

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

.convertToBinary(txObj, data) converts user specified tx variable to binary -1/1.

.getPtsSubset(object) retrieve subset name for which each pt is a member.

.getSingleton(object) retrieve T/F indicator of only 1 tx option available to each pt.

.getSubsetRule(object) retrieve feasible set identification rule.

.getSubsets(object) retrieve subset names and tx options.

.validTx(object, txVec) ensures all elements in txVec are allowed by superset.

Usage

## S4 method for signature 'TxSubset'
.convertFromBinary(txObj, ..., txVec)

## S4 method for signature 'TxSubset'
.convertToBinary(txObj, ...)

## S4 method for signature 'TxSubset'
.getPtsSubset(object)

## S4 method for signature 'TxSubset'
.getSingleton(object)

## S4 method for signature 'TxSubset'
.getSubsetRule(object)

## S4 method for signature 'TxSubset'
.getSubsets(object)

## S4 method for signature 'TxSubset'
.validTx(object, txVec)

DynTxRegime documentation built on Nov. 25, 2023, 1:09 a.m.