Simulate observations from the Clayton-Oakes copula model with piecewise constant marginals.
simClaytonOakes(K, n, eta, beta, stoptime, left = 0, pairleft = 0,
trunc.prob = 0.5, same = 0)
Number of clusters
Number of observations in each cluster
1/variance
Effect (log hazard ratio) of covariate
Stopping time
Left truncation
pairwise (1) left truncation or individual (0)
Truncation probability
if 1 then left-truncation is same also for univariate truncation