pCure.control: Package options for pseudoCure

View source: R/pCure.R

pCure.controlR Documentation

Package options for pseudoCure

Description

This function provides the fitting options for the pCure() function.

Usage

pCure.control(
  binit1 = NULL,
  binit2 = NULL,
  corstr = c("independence", "exchangeable", "ar1"),
  nlambda1 = 100,
  nlambda2 = 100,
  tol = 1e-07,
  maxit = 100
)

Arguments

binit1

Initial value for the first component. A zero vector will be used if not specified.

binit2

Initial value for the second component A zero vector will be used if not specified.

corstr

A character string specifying the correlation structure. The following are permitted: "independence", "exchangeable", and "ar1".

nlambda1, nlambda2

An integer value specifying the number of lambda. This is only evoked when lambda1 = "auto" or lambda2 = "auto".

tol

A positive numerical value specifying the absolute error tolerance in GEE algorithms.

maxit

An integer value specifying the maximum number of iteration.

Value

A list with control parameters.

See Also

pCure


pseudoCure documentation built on April 12, 2025, 1:46 a.m.