opera.solve: solve opera odel

Description Usage Arguments Value

View source: R/solve.R

Description

Ordering poset element by recursive amalgamation. Stratifying the staging variables with respect to the survival outcomes. For computing efficiency, before inputting to functions, data should be sorted by follow-up time.

Usage

1
opera.solve(time, cen, Z, PO, cov, maxiter = 10, eps = 1e-04, GIC = 2)

Arguments

time

a vector of follow-up time

cen

a vector of censoring status

Z

a matrix of staging variables

PO

a vector of paritial order relationship staging variables

cov

a matrix of covariates

maxiter

maximum number of iterations in each approximation step

eps

accuracy level

GIC

the parameter of GIC law, the default value is 2, which is AIC law

Value

staging result of staging variables


WangTJ/opera documentation built on April 26, 2020, 8:24 a.m.