FromDataParam-methods: Method to create FromDataSimParam objects

Description Usage Arguments

Description

Method to create FromDataSimParam objects

Create FromDataSimParam object from survreg model

Usage

1
2
3
4
5
6
7
8
FromDataParam(object, type, ...)

## S4 method for signature 'survreg,character'
FromDataParam(object, type)

## S4 method for signature 'missing,character'
FromDataParam(object, type, rate, shape,
  sigma = matrix(c(0, 0, 0, 0), nrow = 2))

Arguments

object

The object to derive the fromDataParam

type

The type argument to be used in the FromDataSimParam type slot

...

Additional options to be passed into the function

rate

The (mean) Weibull/loglogistic rate parameter for the simulations

shape

The (mean) Weibull/loglogistic shape parameter for the simulations

sigma

Advanced: The covariance (uncertainty) matrix used to sample single simulation rates and shapes. The covariance matrix describes the uncertainty of -log(rate),-log(shape) - i.e. the var matrix of a survreg Weibull/loglogistic survival model


scientific-computing-solutions/eventPrediction documentation built on May 29, 2019, 3:44 p.m.