R/method_misc.R

Defines functions names.mcmcOutput str.mcmcOutput tail.mcmcOutput head.mcmcOutput

# misc S3 methods for mcmcOutput objects

head.mcmcOutput <- function(x, n=6L, ...)  {
  head(unclass(x), n=n, ...)
}

tail.mcmcOutput <- function(x, n=6L, ...)  {
  tail(unclass(x), n=n, ...)
}

str.mcmcOutput <- function(object, ...)  {
  str(unclass(object), ...)
}
# .........................................................

names.mcmcOutput <- function(x, ...)  {
  colnames(unclass(x), ...)
}
# .........................................................
mikemeredith/mcmcOutput documentation built on Dec. 4, 2022, 12:12 p.m.