- times
Numeric vector of times until the event of interest.
- cens
Status indicator (1, exact time; 0, right-censored time). If not
provided, all times are assumed to be exact.
- distr
A string specifying the name of the distribution to be studied.
The possible distributions are
the Weibull ("weibull"
), the Gumbel ("gumbel"
),
the normal ("normal"
), the lognormal ("lognormal"
),
the logistic ("logistic"
), the loglogistic ("loglogistic"
),
the exponential ("exponential"
)
and the beta ("beta"
) distribution. Default is "all6"
and
includes the fisrt 6 listed which are the most used distributions.
- colour
Vector indicating the colours of the displayed plots.
- betaLimits
Two-components vector with the lower and upper bounds of the
Beta distribution. This argument is only required, if the beta
distribution is considered.
- igumb
Two-components vector with the initial values for the estimation of
the Gumbel distribution parameters.
- ggp
Logical to use or not the ggplot2 package to draw the plots.
Default is FALSE
.
- m
Optional layout for the plots to be displayed.
- prnt
Logical to indicate if the maximum likelihood estimates of the
parameters should be printed. Default is TRUE
.
- degs
Integer indicating the number of decimal places of the numeric
results of the output.
- formula
A formula with a numeric vector as response (which assumes no censoring) or Surv
object.
- data
Data frame for variables in formula
.
- ...
Optional arguments for function par
, if ggp = FALSE
.