adph2: Adjusted Discrete Proportional Hazards (ADPH) Model

Description Usage Arguments

View source: R/adph2.R

Description

Adjusted Discrete Proportional Hazards (ADPH) Model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
adph2(
  time,
  status,
  pred,
  init_beta = NULL,
  init_lambda0 = NULL,
  init_lambda0_s = NULL,
  n_ptb = NULL,
  seed = 1,
  show_progress = FALSE,
  maxit = 1000,
  ...
)

Arguments

time

a vector of discrete time (e.g. 1, 2, 3, ...)

status

a vector of event status (1 = observed, 0 = censored)

pred

a vector/matrix of predictors (e.g. biomarkers)

init_beta

initial values for beta

init_lambda0

initial values for lambda0

init_lambda0_s

initial values for lambda0_s

n_ptb

number of perturbations

seed

random number generation seed

show_progress

TRUE or FALSE (default)

maxit

maximum number of iterations

...

additional arguments for controlling model fitting (see optim)


celehs/DPH documentation built on April 2, 2021, 7:27 p.m.