h_convert_ordinal_samples: Convert a Samples Object from an ordinal Model to the...

View source: R/helpers_samples.R

h_convert_ordinal_samplesR Documentation

Convert a Samples Object from an ordinal Model to the Equivalent Samples Object from a Binary Model

Description

[Experimental]

A simple helper function that converts a Samples object from the fit of an ordinal CRM model to that which would have been obtained from fitting a binary CRM model for toxicities of a specified grade to the same observed data.

Usage

h_convert_ordinal_samples(obj, grade)

Arguments

obj

(Samples)
the Samples object to covert

grade

(integer)
the toxicity grade for which the equivalent data is required.

Value

A Samples object.


Roche/crmPack documentation built on April 30, 2024, 3:19 p.m.