calcModelRmst-methods: Method to calculate model restricted means

Description Usage Arguments Value

Description

Method to calculate model restricted means

Usage

1
2
3
4
5
calcModelRmst(object, ...)

## S4 method for signature 'SurvivalModel'
calcModelRmst(object, model, times,
  class = c("data.frame", "FlexTable")[2], digits = 3, ...)

Arguments

object

(SurvivalModel) A survival model - note there cannot be any covariates and armAsFactor must be FALSE

...

additional arguments for this generic

model

(character) The name of the model for which to calculate the restricted mean

times

(nuermic vector) times to calculate the restricted mean

class

('data.frame' or "FlexTable' (default)) type of output required

digits

(numeric default=3) if outputting a FlexTable then the number of digits to round the entries to

Value

(data.frame or FlexTable)


scientific-computing-solutions/sibyl documentation built on May 21, 2019, 8:40 a.m.