Description Usage Arguments Value See Also Examples
Create a single treatment sequence for simulation modeling.
1 | txseq(first, second, second_plus)
|
first |
The treatment to be used at first line. Must be a character of length 1. |
second |
A vector of length 2 where the first element is the second line treatment
to be used if a patient develops a T790M mutation after first line treatment and the second element is
the second line treatment to be used if the patient did not. One of the elements may be |
second_plus |
A vector of length 2 where the first element is the post second line treatment
to be used if a patient develops a T790M mutation after first line treatment and the second element is
the post second line treatment to be used if the patient did not. One of the elements may be |
An object of class "txseq", which is a list of treatments used at first line (first
),
second line (second
), and post second line (second_plus
).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | txseq <- txseq(first = "erlotinib",
second = c("osimertinib", "PBDC"),
second_plus = c("PBDC + bevacizumab", "PBDC + bevacizumab"))
txseq$first
txseq$second
txseq$second_plus
# T790M+ patient previously treated with erlotinib
txseq <- txseq(first = "erlotinib",
second = c("osimertinib", NA),
second_plus = c("PBDC + bevacizumab", NA))
txseq$first
txseq$second
txseq$second_plus
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.