plot.panelReg {spef}R Documentation

Plot a panelReg Object.

Description

Plot the estimated baseline mean function. If "se" option of panelReg is not "NULL", 95 interval is also plotted.

Usage

## S3 method for class 'panelReg'
plot(x, ...)

Arguments

x

The result of a call to the panelReg function.

...

Other graphical parameters such as line type, color, or axis labels.

See Also

panelReg panelReg.object

Examples

data(blaTum)
## Plot the fit of bladder tumor data set
fm <- PanelSurv(id, time, count) ~ num + size + treatment
fit1 <- panelReg(fm, data=blaTum, method = "AEE", se = "Sandwich")
plot(fit1)

fit2 <- panelReg(fm, data=blaTum, method = "MLs", se = "NULL")
plot(fit2)

[Package spef version 1.0.9 Index]