Skip to content
Prev 246239 / 398502 Next

using " plot" with time series object - " axes = FALSE" option does not appear to work

Clifford Long <gnolffilc <at> gmail.com> writes:
Your post did not look insulting to me, just mildly (and understandably)
misinformed.

 It looks to me like this is a bug in plot.xts, which has the code

  dots <- list(...)
    if ("axes" %in% names(dots)) {
        if (!dots$axes) 
            axes <- FALSE
    }
    else axes <- TRUE

  This would make sense if axes were *not* in the explicit list
of arguments to the function, and the default was supposed to be
TRUE.  Because axes *is* in the explicit list of arguments, this
overrides it.  I would contact the maintainer [maintainer("xts")] and
ask if this is a bug.

  cheers
    Ben Bolker