analyses_data {ImputeLongiCovs} | R Documentation |
Analyses Data for imputing categorical covariates
Description
A dataset containing longitudinal data. The outcome of interest is the smoking status with three states (smoker, exsmoker, neversmoker), which are represented via transitions. The difference from the initial data is the prob_matrix column.
Usage
data(analyses_data)
Format
A data frame with 2000 rows and 10 variables
Details
-
patient_id: Unique identifier for each patient
-
tran_Year: numeric, starting from 1 up to the number of transitions
-
transition_year: text explanation of the transition
-
state_from: the state at the beginning of a transition
-
state_to: the state at the end of a transition
-
prob_matrix: the probability matrix that was generated by the initial data
-
cardio_state_from: cardiovascular disease at the beginning of the transition, binary, if 1 == Yes, else No
-
cardio_state_to: cardiovascular disease at the end of the transition, binary, if 1 == Yes, else No
-
flu_vaccination_state_from: flu vaccination at the end of the transition, binary, if 1 == Yes, else No
-
flu_vaccination_state_to: flu vaccination disease at the end of the transition, binary, if 1 == Yes, else No