Learn R Programming

cTMed (version 1.0.9)

summary.ctmedtraj: Summary Method for an Object of Class ctmedtraj

Description

Summary Method for an Object of Class ctmedtraj

Usage

# S3 method for ctmedtraj
summary(object, digits = 4, ...)

Value

Returns a data frame of simulated data.

Arguments

object

an object of class ctmedtraj.

digits

Integer indicating the number of decimal places to display.

...

further arguments.

Author

Ivan Jacob Agaloos Pesigan

Examples

Run this code
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"
)

summary(traj)

Run the code above in your browser using DataLab