Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

TxSubsetFactor-methods

Methods Available for Objects of Class TxSubsetFactor


Description

Methods Available for Objects of Class TxSubsetFactor

.convertFromBinary(txObj, txVec) converts a -1/1 Tx to user provided tx coding. Call method defined for TxSubset.

.convertToBinary(txObj, data) converts user specified tx variable to binary -1/1. Call method defined for TxSubset.

.getPtsSubset(object) retrieve subset name for which each pt is a member. Call method defined for TxSubset.

.getSingleton(object) retrieve T/F indicator of only 1 tx option available to each pt. Call method defined for TxSubset.

.getSubsetRule(object) retrieve feasible set identification rule. Call method defined for TxSubset.

.getSubsets(object) retrieve subset names and tx options. Call method defined for TxSubset.

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

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

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

.getSuperset(object) retrieves superset. Uses method defined for TxInfoFactor objects.

.getTxName(object) retrieves tx variable name. Uses method defined for TxInfoFactor objects.

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

Usage

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

## S4 method for signature 'TxSubsetFactor'
.convertToBinary(txObj, ..., txVec, data)

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

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

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

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

## S4 method for signature 'TxSubsetFactor,factor,factor'
.compareTx(object, vec1, vec2)

## S4 method for signature 'TxSubsetFactor'
.convertTx(object, txVec)

## S4 method for signature 'TxSubsetFactor,factor'
.getLevels(object, txVec)

## S4 method for signature 'TxSubsetFactor'
.getSuperset(object)

## S4 method for signature 'TxSubsetFactor'
.getTxName(object)

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

DynTxRegime

Methods for Estimating Optimal Dynamic Treatment Regimes

v4.10
GPL-2
Authors
S. T. Holloway, E. B. Laber, K. A. Linn, B. Zhang, M. Davidian, and A. A. Tsiatis
Initial release
2022-06-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.