Skip to contents

Package documentation

oncomsm-package oncomsm
The oncomsm package

Stable-Response-Progression model

define_srp_prior() create_srpmodel()
A stable-response-progression model
print(<srpmodel>) format(<srpmodel>)
Print an srpmodel

Sampling functions

sample_posterior() sample_prior()
Sample parameters from a model
impute() sample_predictive()
Sample visits from predictive distribution

Plotting functions

plot_transition_times()
Plot the transition times of a model
plot_pfs()
Plot progression-free-survival function
plot_response_probability()
Plot the response probability distributions
plot_mstate()
Swimmer plot of multi-state data
plot(<srpmodel>)
Summary plot of model prior

Other functions

visits_to_mstate()
Convert cross-sectional visit data to multi-state format
parameter_sample_to_tibble()
Convert parameter sample to data table
compute_pfs()
Compute progression-free-survival rate given sample
simulate_decision_rule()
Simulate results under a custom decision rule
check_data()
Check a visits data set for correct format