CovMatNoComp: Output the entire martingale and counting process covariance...

Description Usage Arguments Value

View source: R/CovMatNoComp.R

Description

This takes survival times and censoring/causue indicators for p different variables and outputs the p times p martingale and counting process covariance/correlation matrices for all variables.

Usage

1
CovMatNoComp(data, p = NA, t, mineigen = 0.001)

Arguments

data

A matrix where the first p columns are the event times for the p variables and the next p columns are the censoring indicators for the p variables. The order for the event times and censoring indicators needs to be the same.

p

The number of variables to calculate the matrix for, if NA ncol(data)/2 will be used

t

The timepoint to estimate the covariance and correlation matrices

mineigen

The minimum eigenvalue for the martingale and counting process covariance matrices if not already positive semidefinite

Value

A list with the following elements


blangworthy/survPCA documentation built on Oct. 3, 2020, 3:04 p.m.