Usage
phmclust(x, K, method = "separate", Sdist = "weibull", cutpoint = NULL, EMstart = NA,
EMoption = "classification", EMstop = 0.01, maxiter = 100)
Arguments
x
Data frame or matrix of dimension n*p with survival times (NA
's allowed).
K
Number of mixture components.
method
Imposing proportionality restrictions on the hazards:
With "separate"
no restrictions are imposed, "main.g"
relates to a group main effect,
"main.p"
to variable main effects. "main.gp"
reflects the proportionality assumption over groups
and variables. "int.gp"
allows for interactions between groups and variables.
Sdist
Various survival distrubtions such as "weibull"
, "exponential"
, and "rayleigh"
.
cutpoint
Integer value with upper bound for observed dwell times. Above this cutpoint, values are regarded as censored. If NULL, no censoring is performed
EMstart
Vector of length n with starting values for group membership,
NA
indicates random starting values.
EMoption
"classification"
is based on deterministic cluster assignment,
"maximization"
on deterministic assignment, and "randomization"
provides a posterior-based randomized cluster assignement.
EMstop
Stopping criterion for EM-iteration.
maxiter
Maximum number of iterations.