# \donttest{
### Signal Tandmobiel study
### Plackett copula fitted to emergence times
### of teeth 14 and 24, covariate = gender
data(tandmob, package = "icensBKL")
tand1424 <- subset(tandmob,
select = c("GENDER", "fGENDER", "L14", "R14", "L24", "R24"))
summary(tand1424)
T1424.plackett <- fit.copula(tand1424,
copula = "plackett", init.param = NULL, cov = ~GENDER,
marginal1 = Surv(L14, R14, type = "interval2") ~ GENDER,
logscale1 = ~GENDER, lambda1 = exp((-3):3),
marginal2 = Surv(L24, R24, type = "interval2") ~ GENDER,
logscale2 = ~GENDER, lambda2 = exp((-3):3),
bootstrap = FALSE)
print(T1424.plackett)
# }
Run the code above in your browser using DataLab