tx_ml_outcomes: Subset rows of Inactive Clients with Specific Outcome

View source: R/tx_ml_outcomes.R

tx_ml_outcomesR Documentation

Subset rows of Inactive Clients with Specific Outcome

Description

tx_ml_outcomes generates the line-list of clients based on the outcome of interest ("dead" or "transfer out"). It should be used after tx_ml().

Usage

tx_ml_outcomes(data, outcome)

Arguments

data

An ndr dataframe imported using the 'read_ndr()

outcome

The particular outcome of interest based on options available on the NDR ("transfer out" or "dead").

Value

tx_ml_outcomes

Examples

tx_ml_outcomes(tx_ml(new_data = ndr_example),
  outcome = "dead"
)

tidyndr documentation built on April 8, 2022, 9:06 a.m.