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 percent point wise confidence interval is also ploted.

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
 9
10
data(blaTum)

# Plot the fit of bladder tumor data set
formula <- PanelSurv(id, time, count) ~ num + size + treatment

fit1 <- panelReg(formula, data=blaTum, method="AEE", se="Sandwich")
plot(fit1)

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

jun-yan/spef documentation built on May 7, 2019, 11:14 a.m.