View source: R/cTMed-methods-ctmedmed.R
print.ctmedmed | R Documentation |
ctmedmed
Print Method for Object of Class ctmedmed
## S3 method for class 'ctmedmed'
print(x, digits = 4, ...)
x |
an object of class |
digits |
Integer indicating the number of decimal places to display. |
... |
further arguments. |
Prints a matrix of 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")
# Specific time interval ----------------------------------------------------
med <- Med(
phi = phi,
delta_t = 1,
from = "x",
to = "y",
med = "m"
)
print(med)
# Range of time intervals ---------------------------------------------------
med <- Med(
phi = phi,
delta_t = 1:5,
from = "x",
to = "y",
med = "m"
)
print(med)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.