Description Usage Arguments Value References See Also Examples
Create a data table of patients to model.
1 2 | create_patients(n, female_prop = 0.48, age_mean = 70.39,
age_sd = 11.68, mutation_prob = 0.52)
|
n |
Number of patients to model. |
female_prop |
The proportion of patients that are female. |
age_mean |
Mean age. Based on sources cited in |
age_sd |
Standard deviation of age. Based on sources cited in |
mutation_prob |
The probability of a T790M mutation. The default value is based on Table 3 from the article by Ma et al. cited below. |
An object of class "patients", which is a data.table
containing each modeled patient. Columns are:
An integer from 1 to n
denoting a unique patient.
1 if a patient has a T790M mutation and 0 otherwise.
1 if a patient is female and 0 otherwise.
Ma C, Wei S, Song Y. T790M and acquired resistance of EGFR TKI: a literature review of clinical reports. Journal of thoracic disease. 2011 Mar;3(1):10.
https://seer.cancer.gov/csr/1975_2015/results_merged/topic_age_dist.pdf
1 | create_patients(n = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.