R/barplot.zoo.R

Defines functions barplot.zoo

Documented in barplot.zoo

barplot.zoo <- function(height, names.arg = NULL, ...)
{
  x <- coredata(height)
  if(!is.null(dim(x))) x <- t(x)
  if(is.null(names.arg)) names.arg <- index2char(index(height))
  barplot(x, names.arg = names.arg, ...)
}
parsifal9/test documentation built on Dec. 31, 2020, 1:14 a.m.