Description Usage Arguments Value Examples
Calculates 'NHS Predict' v2.1 Overall survival and chemotherapy benefits in a simplified version with fewer inputs, suited for SCAN audit.
1 | scan.predict(data, age.start)
|
data |
A dataframe containing patient data with the necessary variables.Except for age at diagnosis, the other variables must be named according to SCAN |
age.start |
Numeric, Age at diagnosis of the patient. Range between 25 and 85. |
The function attaches additional columns to the dataframe, matched for patient observation, containing Overall survival at the specified year, plus the additional benefit for chemotherapy at 5, 10, and 15 years interval. Observations containing missing values are moved to the bottom.
1 2 3 | data(scan_example_data)
scan_example_data <- scan.predict(scan_example_data, age.start = diag_age)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.