Learn R Programming

tidyndr (version 0.2.1)

tx_ml_outcomes: 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

Run this code
# NOT RUN {
tx_ml_outcomes(tx_ml(new_data = ndr_example),
  outcome = "dead"
)
# }

Run the code above in your browser using DataLab