Learn R Programming

visit (version 2.2)

summary.VTTRUEPS: Print true probabilities

Description

Print the true probabilities, with probabilities of toxicity and resistance, and \(\rho\).

Usage

# S3 method for VTTRUEPS
summary(object, digits = 2, ...)

Value

A table showing the summary of the VTTRUEPS object. The first four columns are individual probability, fifth and sixth are probability for toxicity and resistance, and seventh is rho, the correlation.

Arguments

object

A class VTTRUEPS matrix generated by vtScenario

digits

Digits for print

...

Reserved parameters

Examples

Run this code
rst.sce <- vtScenario(tox = c(0.05, 0.05, 0.08),
                      res = c(0.2, 0.3, 0.5),
                      rho = 1)
summary(rst.sce)

Run the code above in your browser using DataLab