Learn R Programming

TreatmentSelection

This R package includes a suite of descriptive and inferential methods designed to evaluate one or more biomarkers for their ability to guide patient treatment recommendations. relevant functions are:

  • trtsel_measures for evaluating the performance of a user-specified marker-based treatment rule
  • trtsel for creating trtsel objects
  • plot.trtsel for plotting risk curves and more
  • evaluate.trtsel for evaluating marker performance
  • calibrate.trtsel for assessing model calibration
  • compare.trtsel to compare two trtsel objects.

To dowload the package from CRAN, type:

install.packages("TreatmentSelection")

To download and install the most recent version of the package directly from github, type:

if (!require("devtools")) install.packages("devtools")
devtools::install_github("TreatmentSelection", "mdbrown")

A manuscript describing the methods employed in the package can be found here and a brief tutorial is available here.

Copy Link

Version

Install

install.packages('TreatmentSelection')

Monthly Downloads

176

Version

2.1.1

License

GPL-3

Maintainer

Last Published

August 11th, 2017

Functions in TreatmentSelection (2.1.1)

calibrate.trtsel

assess model calibration of a trtsel object
compare

method to compare trtsel objects
tsdata_cc

sample nested case-control data for R package TreatmentSelection
tsdata_scc

sample stratified nested case-control data for R package TreatmentSelection
TreatmentSelection-package

Evaluate markers used to guide patient treatment selection decisions
calibrate

method for calibrating trtsel objects
plot.trtsel

plot risk curves, treatment effect curves or cdf of risk for a trtsel object.
print.calibrate.trtsel

print a trtsel object
print.compare.trtsel

print a trtsel object
print.eval.trtsel

print a trtsel object
trtsel_measures

a simple function to estimate performance measures for a rule used to select treatment.
tsdata

sample data for R package TreatmentSelection
print.trtsel

print a trtsel object
print.trtsel_summary_measures

print output from 'trtsel_measures'
evaluate.trtsel

evaluate the performance of one or more biomarkers for their ability to guide patient treatment recommendations.
is.trtsel

is x a trtsel object?
compare.trtsel

compare the performance of two treatment selection markers
evaluate

a method for evaluating a trtsel object
surv_tsdata

sample data for R package TreatmentSelection
trtsel

create a trtsel object