Usage: |
plothare(fit{,cov,what,n,which,time,xlim,type})
|
Input: |
| fit | a list like the output from harefit.
|
| cov | a (1 x fit.ncov) matrix, indicating for which combination of
covariates the plot should be made (fit.ncov is the number of
covariates used during fitting the model).
Can be omitted only if fit.ncov is 0.
|
| what | an optional string containing one or more letters
separated by commas specifying
what should be plotted (default is "d"):
d (density), p (distribution function), s (survival
function) or h (hazard function).
|
| n | an optional number of equally spaced points at which
to plot the fit (default is 100).
|
| which | an optional number (default is 0) setting for which
coordinate the plot should be made.
0: time; positive value i: covariate i.
Note that if which is the positive value i, then the
element corresponding to this covariate must be given in cov even
though its actual value is irrelevant.
|
| time | a time vector; if which is not equal to 0,
the value of time for which the plot should be made.
Otherwise, it can be omitted.
|
| xlim | an optional 2 x 1 vector containing lower and upper
bounds for x-axis.
|
| type | an optional one-character string indicating what type of plot
should be drawn. Possible types are "p" for points,
and "l" for lines (default).
|