TEST_DATA <- read.csv("data/test_data.csv")
plot_survival(native_dataframe = TEST_DATA,
survival_time_col = survival_time_months,
event_col = event_occurred,
cohort_col = cohort_definition)
plot_time_to_rx_hist(native_dataframe = TEST_DATA,
target_value_col = dx_to_rx_time_days,
cohort_col = cohort_definition)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.