plot.panelReg: Plot a 'panelReg' Object.

Description Usage Arguments See Also Examples

View source: R/plot.R

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
7
8
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)

spef documentation built on July 1, 2020, 7:11 p.m.