Description Usage Arguments See Also Examples
Makes a plot for the estimated effect of covariate(s) on pre-specified transition probabilities together with 95\%
confidence bands along time, from time s
to time t
.
1 2 |
x |
an object of class |
covar |
a character vector of the name(s) of covariate(s) |
rug |
if |
main |
an overall title for the plot |
ylab |
a title for the y axis |
xlab |
a title for the x axis |
Ylim |
a list of y limits |
... |
arguments to be passed to methods. |
TPreg
, and generic functions print.TPreg
, and summary.TPreg
.
1 2 3 4 5 6 7 8 9 10 11 | data(colonTPreg)
co13 <- TPreg( ~ Age + Nodes + treatment, colonTPreg, link = "logit", s = 0, R = 9, t = 1200,
by = 110, trans = "13", ncores = 1)
plot(co13, covar = "Nodes", Ylim = list(c(-0.5,0.5)))
co11 <- TPreg( ~ Age + Nodes + treatment, colonTPreg, link = "logit", s = 0, by = 10,
R = 199, t = 365*5, trans = "11")
plot(co11, covar = c("Age", "Nodes", "treatmentLev", "treatmentLev.5FU"),
Ylim = list(c(-0.1,0.1), c(-0.5,0.5), c(-2,2), c(-2,2)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.