patient_data_simulated: Simulated patient data.

Description Usage Format

Description

A dataset containing admission and discharge dates, test results and antibiotic use of 270 patients over 90 days.

Usage

1

Format

a list containing 4 elements:

patients

a dataframe with four columns and 270 rows. Each row corresponds to a patient, the columns are admission, type, first_positive_test and discharge in days. If there is no type for a patient, type equals -1. If there is no positive test for a patient, first_positive_test equals 20000.

test_results_positive

a matrix with 270 rows and 30 columns. Each row corresponds to a patient. Entries correspond to the day of a positive test.

test_results_negative

a matrix with 270 rows and 30 columns. Each row corresponds to a patient. Entries correspond to the day of a negative test.

antibiotics

a matrix with 270 rows and 100 columns. Each row corresponds to a patient. Entries correspond to the day when an antibiotic was administered.


mirjamlaager/mrsamcmc documentation built on May 20, 2020, 11:13 a.m.