Learn R Programming

⚠️There's a newer version (1.3.6) of this package.Take me there.

mets (version 1.2)

Analysis of Multivariate Event Times

Description

Implementation of various statistical models for multivariate event history data. Including multivariate cumulative incidence models, and bivariate random effects probit models (Liability models). Also contains two-stage binomial modelling that can do pairwise odds-ratio dependence modelling based marginal logistic regression models. This is an alternative to the alternating logistic regression approach (ALR).

Copy Link

Version

Install

install.packages('mets')

Monthly Downloads

12,550

Version

1.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Klaus Holst

Last Published

February 4th, 2017

Functions in mets (1.2)

casewise

Estimates the casewise concordance based on Concordance and marginal estimate using prodlim but no testing
bptwin

Liability model for twin data
back2timereg

Convert to timereg object
casewise.test

Estimates the casewise concordance based on Concordance and marginal estimate using timereg and performs test for independence
blocksample

Block sampling
bicomprisk

Estimation of concordance in bivariate competing risks data
cluster.index

Finds subjects related to same cluster
biprobit

Bivariate Probit model
aalenfrailty

Aalen frailty model
ClaytonOakes

Clayton-Oakes model with piece-wise constant hazards
Dbvn

Derivatives of the bivariate normal cumulative distribution function
concordance

Concordance Computes concordance and casewise concordance
daggregate

aggregating for for data frames
dcor

summary, tables, and correlations for data frames
dby

Calculate summary statistics grouped by
dcut

Cutting, sorting, rm (removing), rename for data frames
divide.conquer

Split a data set and run function
divide.conquer.timereg

Split a data set and run function from timereg and aggregate
dermalridges

Dermal ridges data (families)
dermalridgesMZ

Dermal ridges data (monozygotic twins)
drelevel

relev levels for data frames
dsort

Sort data frame
eventpois

Extract survival estimates from lifetable analysis
dlag

Lag operator
EVaddGam

Relative risk for additive gamma model
familycluster.index

Finds all pairs within a cluster (family)
easy.survival.twostage

Wrapper for easy fitting of Clayton-Oakes or bivariate Plackett models for bivariate survival data
dtable

tables for data frames
dprint

list, head, print, tail
easy.binomial.twostage

Fits two-stage binomial for describing depdendence in binomial data
lifecourse

Spaghetti plot
fast.pattern

Fast pattern
fast.reshape

Fast reshape
lifetable.matrix

Life table
familyclusterWithProbands.index

Finds all pairs within a cluster (famly) with the proband (case/control)
ipw

Inverse Probability of Censoring Weights
ipw2

Inverse Probability of Censoring Weights
fast.approx

Fast approximation
npc

For internal use
mena

Menarche data set
phreg

Fast Cox PH regression
mets-package

Analysis of Multivariate Events
mets.options

Set global options for
simAalenFrailty

Simulate from the Aalen Frailty model
plack.cif

plack Computes concordance for or.cif based model, that is Plackett random effects model
multcif

Multivariate Cumulative Incidence Function example data set
np

np data set
prt

Prostate data set
migr

Migraine data
printcasewisetest

prints Concordance test
twin.clustertrunc

Estimation of twostage model with cluster truncation in bivariate situation
twinbmi

BMI data set
simClaytonOakesWei

Simulate from the Clayton-Oakes frailty model
simClaytonOakes

Simulate from the Clayton-Oakes frailty model
tetrachoric

Estimate parameters from odds-ratio
twinsim

Simulate twin data
twinlm

Classic twin model for quantitative traits
twinstut

Stutter data set
summary.cor

Summary for dependence models for competing risks
test.conc

Concordance test Compares two concordance estimates
binomial.twostage

Fits Clayton-Oakes or bivariate Plackett (OR) models for binary data
cor.cif

Cross-odds-ratio, OR or RR risk regression for competing risks
Grandom.cif

Additive Random effects model for competing risks data for polygenetic modelling
random.cif

Random effects model for competing risks data
survival.twostage

Twostage survival model for multivariate survival data