model.rmvnorm: Randomly draw parameter values of survival models from...

View source: R/survival_functions.R View source: R/survival_functions.R

model.rmvnormR Documentation

Randomly draw parameter values of survival models from multivariate normal distribution.

Description

model.rmvnorm randomly draws parameter values of survival models from multivariate normal distributio.

model.rmvnorm randomly draws parameter values of survival models from multivariate normal distribution.

Usage

model.rmvnorm(dist.v, d.data, vc.data, n_sim, seed = 421)

model.rmvnorm(dist.v, d.data, vc.data, n_sim, seed = 421)

Arguments

dist.v

a character string specifying the name of the survival distribution.

d.data

a vector of mean parameter estimates of the survival distribution.

vc.data

variance-covariance matrix (a matrix) of parameter estimates of the survival distribution.

n_sim

number of random samples to draw. Default = 100.

seed

seed for random number generation. Default = 421.

Value

A matrix of drawn parameter values.

A matrix of drawn parameter values.


DARTH-git/darthtools documentation built on April 3, 2025, 2:12 p.m.