Learn R Programming

mets (version 0.1-8)

simClaytonOakes: Simulate from the Clayton-Oakes frailty model

Description

Simulate observations from the Clayton-Oakes copula model with piecewise constant marginals.

Usage

simClaytonOakes(K, n, eta, beta, stoptime, left = 0)

Arguments

K
Number of clusters
n
Number of observations in each cluster
eta
1/variance
beta
Effect (log hazard ratio) of covariate
stoptime
Stopping time
left
Left truncation