View source: R/sim.clayton.oakes.R
simClaytonOakes | R Documentation |
Simulate observations from the Clayton-Oakes copula model with piecewise constant marginals.
simClaytonOakes(
K,
n,
eta,
beta,
stoptime,
lam = 1,
left = 0,
pairleft = 0,
trunc.prob = 0.5,
same = 0
)
K |
Number of clusters |
n |
Number of observations in each cluster |
eta |
variance |
beta |
Effect (log hazard ratio) of covariate |
stoptime |
Stopping time |
lam |
constant hazard |
left |
Left truncation |
pairleft |
pairwise (1) left truncation or individual (0) |
trunc.prob |
Truncation probability |
same |
if 1 then left-truncation is same also for univariate truncation |
Thomas Scheike and Klaus K. Holst
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.