View source: R/cTMed-methods-ctmedtraj.R
plot.ctmedtraj | R Documentation |
ctmedtraj
Plot Method for an Object of Class ctmedtraj
## S3 method for class 'ctmedtraj'
plot(x, legend_pos = "topright", total = TRUE, ...)
x |
Object of class |
legend_pos |
Character vector. Optional argument. Legend position. |
total |
Logical.
If |
... |
Additional arguments. |
Displays trajectory plots of the effects.
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")
traj <- Trajectory(
mu0 = c(3, 3, -3),
time = 150,
phi = phi,
med = "m"
)
plot(traj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.