data_process.1_core {polypharmacy} | R Documentation |
data_process
but with only 1 core. To use in the multicores process.
data_process.1_core(
Rx_deliv,
Rx_id,
Rx_drug_code,
Rx_drug_deliv,
Rx_deliv_dur,
Cohort = NULL,
Cohort_id = NULL,
Hosp_stays = NULL,
Hosp_id = NULL,
Hosp_admis = NULL,
Hosp_discharge = NULL,
study_start = NULL,
study_end = NULL,
grace_fctr = 0.5,
grace_cst = 0,
max_reserve = NULL
)
Rx_deliv |
Name of the table listing all prescription drugs deliveries including the run-in period. See Details. |
Rx_id |
Column name of |
Rx_drug_code |
Column name of |
Rx_drug_deliv |
Column name of |
Rx_deliv_dur |
Column name of |
Cohort |
Name of the table providing the unique identifiers of the study cohort. Only the ids listed in both the |
Cohort_id |
Column name of |
Hosp_stays |
Name of the table listing all hospital stays. (see Details for possible format). |
Hosp_id |
Column name of |
Hosp_admis |
Column name of |
Hosp_discharge |
Column name of Hosp_stays that contains the date of discharge from hospital (Date format, see Details). |
study_start |
Defines the first and last day of the study period for which the polypharmacy indicator(s) need to be calculated. All treatment periods prior to |
study_end |
Defines the first and last day of the study period for which the polypharmacy indicator(s) need to be calculated. All treatment periods prior to |
grace_fctr |
Numbers |
grace_cst |
Numbers |
max_reserve |
An integer number |
data.table
with four (4) variables:
The individual unique identifier which name is defined by Rx_id
.
The drug unique identifier which name is defined by Rx_drug_code
.
tx_start
: The date of initiation of the reconstructed continued treatment (format as date).
tx_end
: The date of the last day of the reconstructed continued treatment (format as date).