PLAC_TDR: C++ Function for Solving the PLAC Estimator. (with...

View source: R/RcppExports.R

PLAC_TDRR Documentation

C++ Function for Solving the PLAC Estimator. (with time-dependent convariates depending on A^*)

Description

C++ Function for Solving the PLAC Estimator. (with time-dependent convariates depending on A^*)

Usage

PLAC_TDR(ZF, ZFV_, Z, X, W, Ind1, Ind2, Dn, b, h, K = 100L)

Arguments

ZF

matrix for all the time-invariant covariates.

ZFV_

matrix for all covariates at the each individual's observed survival time.

Z

matrix for all the covariates history.

X

the response matrix (As, Xs, Ds).

W

the ordered observed event times.

Ind1

risk-set indicators.

Ind2

truncation pair indicators.

Dn

number of ties at each observed event time.

b

initial values of the regression coefficients.

h

initial values of the baseline hazard function.

K

maximal iteration number, the default is K = 100.

Value

list of model fitting results for both conditional approach and the PLAC estimator.


942kid/plac documentation built on July 20, 2023, 2:43 a.m.