getDistributionPars function

Get distribution parameters of a randomization list

Get distribution parameters of a randomization list

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

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.

Returns

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)
  • Maintainer: Ralf-Dieter Hilgers
  • License: GPL (>= 3)
  • Last published: 2023-09-18

Useful links