View source: R/cTMed-methods-ctmedmed.R
plot.ctmedmed | R Documentation |
ctmedmed
Plot Method for an Object of Class ctmedmed
## S3 method for class 'ctmedmed'
plot(x, col = NULL, legend_pos = "topright", ...)
x |
Object of class |
col |
Character vector. Optional argument. Character vector of colors. |
legend_pos |
Character vector. Optional argument. Legend position. |
... |
Additional arguments. |
Displays plots of point estimates and confidence intervals.
Ivan Jacob Agaloos Pesigan
phi <- matrix(
data = c(
-0.357, 0.771, -0.450,
0.0, -0.511, 0.729,
0, 0, -0.693
),
nrow = 3
)
colnames(phi) <- rownames(phi) <- c("x", "m", "y")
# Range of time intervals ---------------------------------------------------
med <- Med(
phi = phi,
delta_t = 1:5,
from = "x",
to = "y",
med = "m"
)
plot(med)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.