# Analysis of Multivariate Event Times

## Documentation for package ‘mets’ version 1.1.1

- DESCRIPTION file.
- Code demos. Use demo() to run them.
- Package NEWS.

## Help Pages

mets-package | Analysis of Multivariate Events
aalenfrailty | Aalen frailty model
alpha2kendall | For internal use
alpha2spear | For internal use
back2timereg | Convert to timereg object
bicomprisk | Estimation of concordance in bivariate competing risks data
binomial.twostage | Fits Clayton-Oakes or bivariate Plackett (OR) models for binary data using marginals that are on logistic form. If clusters contain more than two times, the algoritm uses a compososite likelihood based on all pairwise bivariate models.
binomial.twostage.time | Fits Clayton-Oakes or bivariate Plackett (OR) models for binary data using marginals that are on logistic form. If clusters contain more than two times, the algoritm uses a compososite likelihood based on all pairwise bivariate models.
biprobit | Bivariate Probit model
biprobit.time | Bivariate Probit model
biprobit.vector | Bivariate Probit model
blocksample | Block sampling
bptwin | Liability model for twin data
bptwin.time | Liability model for twin data
casewise | Estimates the casewise concordance based on Concordance and marginal estimate using prodlim but no testing
casewise.bin | Estimates the casewise concordance based on Concordance and marginal estimate using timereg and performs test for independence
casewise.test | Estimates the casewise concordance based on Concordance and marginal estimate using timereg and performs test for independence
ClaytonOakes | Clayton-Oakes model with piece-wise constant hazards
cluster.index | For internal use
coefmat | For internal use
concordance | Concordance Computes concordance and casewise concordance
cor.cif | Cross-odds-ratio, OR or RR risk regression for competing risks
corsim.prostate | For internal use
corsim.prostate.random | For internal use
Dbvn | Derivatives of the bivariate normal cumulative distribution function
dermalridges | Dermal ridges data (families)
dermalridgesMZ | Dermal ridges data (monozygotic twins)
divide.conquer | Split a data set and run function
divide.conquer.timereg | Split a data set and run function from timereg and aggregate
easy.binomial.twostage | Fits two-stage binomial for describing depdendence in binomial data using marginals that are on logistic form using the binomial.twostage funcion, but call is different and easier and the data manipulation is build into the function. Useful in particular for family design data.
easy.twostage | Fits two-stage model for describing depdendence in survival data using marginals that are on cox or aalen form using the twostage funcion, but call is different and easier and the data manipulation build into the function. Useful in particular for family design data.
Event | Event history object
eventpois | Extract survival estimates from lifetable analysis
familycluster.index | For internal use
fast.approx | Fast approximation
fast.pattern | Fast pattern
fast.reshape | Fast reshape Simple reshape/tranpose of data
faster.reshape | For internal use
folds | For internal use
Grandom.cif | Additive Random effects model for competing risks data for polygenetic modelling
grouptable | For internal use
ipw | Inverse Probability of Censoring Weights
ipw2 | Inverse Probability of Censoring Weights
jumptimes | For internal use
lifetable | Life table
lifetable.formula | Life table
lifetable.matrix | Life table
loglikMVN | For internal use
mena | Menarche data set
migr | Migraine data
multcif | Multivariate Cumulative Incidence Function example data set
nonparcuminc | For internal use
np | np data set
npc | For internal use
or.cif | Cross-odds-ratio, OR or RR risk regression for competing risks
or2prob | Estimate parameters from odds-ratio
pbvn | For internal use
phreg | Fast Cox PH regression
phreg.par | Fast Cox PH regression
piecewise.data | For internal use
piecewise.twostage | For internal use
plack.cif | plack Computes concordance for or.cif based model, that is Plackett random effects model
plack.cif2 | plack Computes concordance for or.cif based model, that is Plackett random effects model
plotcr | For internal use
pmvn | For internal use
printcasewisetest | prints Concordance test
prt | Prostate data set
random.cif | Random effects model for competing risks data
rbind.Event | Event history object
rr.cif | Cross-odds-ratio, OR or RR risk regression for competing risks
scoreMVN | For internal use
sim | For internal use
simAalenFrailty | Simulate from the Aalen Frailty model
simBinFam | For internal use
simBinFam2 | For internal use
simBinPlack | For internal use
simClaytonOakes | Simulate from the Clayton-Oakes frailty model
simClaytonOakesWei | Simulate from the Clayton-Oakes frailty model
simCox | For internal use
simnordic | For internal use
simnordic.random | For internal use
simSurvFam | For internal use
slope.process | Estimates the casewise concordance based on Concordance and marginal estimate using timereg and performs test for independence
summary.cor | Summary for dependence models for competing risks
surv.boxarea | For internal use
test.conc | Concordance test Compares two concordance estimates
tetrachoric | Estimate parameters from odds-ratio
twin.clustertrunc | Estimation of twostage model with cluster truncation in bivariate situation
twinbmi | BMI data set
twinlm | Classic twin model for quantitative traits
twinlm.strata | Classic twin model for quantitative traits
twinlm.time | Liability model for twin data
twinsim | Simulate twin data
twinstut | Stutter data set
twostage | Fits Clayton-Oakes or bivariate Plackett models for bivariate survival data using marginals that are on Cox or addtive form. If clusters contain more than two times, the algoritm uses a compososite likelihood based on the pairwise bivariate models.