Learn R Programming

polypharmacy (version 1.0.0)

cst_deliv_duration.verif_args: Verification

Description

Arguments verification for cst_deliv_duration.

Usage

cst_deliv_duration.verif_args(
  Rx_deliv,
  Rx_drug_code,
  Rx_deliv_dur,
  Cst_deliv_dur,
  Cst_drug_code,
  Cst_duration
)

Arguments

Rx_deliv

Name of the table listing all prescription drugs delivered.

Rx_drug_code

Column name of Rx_deliv that contains the drug unique identifier.

Rx_deliv_dur

Column name of the constant treatment duration in the Rx_deliv table.

Cst_deliv_dur

Name of the table that contains the constant delivery durations that will overwrite that in the Rx_deliv table for the specified drug codes.

Cst_drug_code

Column name of Cst_deliv_dur that contains the drug unique identifier (same format as Rx_drug_code).

Cst_duration

Column name of the constant treatment duration in the Cst_deliv_dur table (same format as Rx_deliv_dur).

Value

Messages, warnings or errors