flex.spline: Flexible Parametric EM Algorithm Main Function.

Description Usage Arguments Value

View source: R/flex.R

Description

Flexible Parametric EM Algorithm Main Function.

Usage

1
2
flex.spline(Time, Status, Z, X, Mbigs, Ibigs, r, b, beta, w, mort.s,
  mort.h, link = "logit", emmax = 100, eps = 1e-10)

Arguments

Time

Survival time from data set.

Status

Right censoring status: 1 is death, 0 is censored.

Z

The covariates for cure link function.

X

The covaraites for latency survival function.

Mbigs

M spline basis.

Ibigs

I spline basis.

r

Initial value of r.

b

Initial value of b.

beta

Initial value of beta.

w

Initial value of w.

mort.s

background survival rate from life table.

mort.h

background hazard rate from life table.

link

The type of cure rate link function, including "logit","probit", and "cloglog".

emmax

The maximum iteration is 100.

eps

The stopping criteria for convergence is 1e-7.

Value

None


gygygy1989/psmcure documentation built on March 4, 2020, 6:05 p.m.