View source: R/cTMed-methods-ctmedtraj.R
print.ctmedtraj | R Documentation |
ctmedtraj
Print Method for Object of Class ctmedtraj
## S3 method for class 'ctmedtraj'
print(x, ...)
x |
an object of class |
... |
further arguments. |
Prints a data frame of simulated data.
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"
)
print(traj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.