Skip to content
Prev 163615 / 398506 Next

question about the tisPlot function in package tis

Kyle.Matoba at sf.frb.org writes:
Try this:

tisPlot(dat, xTickFreq = "annual", xMinorTickFreq = "monthly")


I don't understand what you mean by "where the data ends up on the
xTickFreq: a string like the ones returned by 'tifName'. This argument
          and 'xTickSkip' jointly specify locations for labeled x axis
          ticks as follow: (i) find the 'ti''s of the given frequency
          that correspond to 'xAxisMin' and 'xAxisMax', then (ii)
          including those as endpoints, generate a sequence of every
          'xTickSkip''th 'ti' between them.

          Two special strings can also be given.  "none" means no
          labelled tick marks, while "auto" tries (not always
          successfully) to come up with reasonable tick locations
          automatically.  "auto" also overrides any 'xTickSkip'
          setting.

          The default is "auto". 

which does not indicate that your data points are moved.  At any rate, please
try my suggestion above, which gives a pretty nice axis for your time range.

Jeff