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,
pairleft = 0)Arguments
n
Number of observations in each cluster
beta
Effect (log hazard ratio) of covariate
pairleft
pairwise (1) left truncation or
individual (0)