decision_5 {drugprepr}R Documentation

Decision 5: impute implausible prescription durations

Description

A light wrapper around clean_duration.

Usage

decision_5(data, decision = "a")

Arguments

data

a data frame

decision

one of the following strings:

"a"

leave duration as-is

"b_6"

set to missing if > 6 months

"b_12"

set to missing if > 12 months

"b_24"

set to missing if > 24 months

"c_6"

set to 6 months if > 6 months

"c_12"

set to 12 months if > 12 months

"c_24"

set to 24 months if > 24 months

See Also

Other decision functions: decision_10(), decision_1(), decision_2(), decision_3(), decision_4(), decision_6(), decision_7(), decision_8(), decision_9(), drug_prep()


[Package drugprepr version 0.0.4 Index]