getDistributionPars: Get distribution parameters of a randomization list

getDistributionParsR Documentation

Get distribution parameters of a randomization list

Description

Generates a matrix of the distribution parameters of the included patients in the clinical trial.

Usage

getDistributionPars(randSeq, issue, endp)

## S4 method for signature 'randSeq,missing,survEndp'
getDistributionPars(randSeq, endp)

## S4 method for signature 'randSeq,chronBias,survEndp'
getDistributionPars(randSeq, issue, endp)

## S4 method for signature 'randSeq,selBias,survEndp'
getDistributionPars(randSeq, issue, endp)

## S4 method for signature 'randSeq,combinedBias,survEndp'
getDistributionPars(randSeq, issue, endp)

## S4 method for signature 'randSeq,combinedBiasStepTrend,survEndp'
getDistributionPars(randSeq, issue, endp)

Arguments

randSeq

object of the class randSeq.

issue

object of the class issue (optional).

endp

object of the class endpoint.

Value

a matrix of the distribution parameters of the included patients in the clinical trial.

Examples

# return the shape and scale parameters of a Weibull distribution
endp <- survEndp(shape = c(1,1), scale = c(0.5,1), cenTime = 10, cenRate = 0.01)
biasSB <- selBias("CS", log(2), "exact")
randSeq <- genSeq(rpbrPar(rb = 2, N = 12))
getDistributionPars(randSeq,biasSB,endp)

randomizeR documentation built on Sept. 19, 2023, 1:08 a.m.