knot.fun: Knots Selection in Flexible Parametric EM Algorithm.

Description Usage Arguments Value

View source: R/knots_sel.R

Description

Knots Selection in Flexible Parametric EM Algorithm.

Usage

1
2
knot.fun(Time, Status, Z, X, b, beta, w, mort.s, mort.h, link = "logit",
  emmax, eps, maxk)

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.

b

Initial value for b

beta

Initial value for beta

w

Initial value for 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.

maxk

The maximum number of knots to search

Value

None


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