Skip to content

Commit

Permalink
More detail for parameters which take periodicity
Browse files Browse the repository at this point in the history
Now that RStudio has argument completion, documentation can provide
more hints at point of use. I added valid values to 'major.ticks',
'minor.ticks' and 'grid.ticks.on' to provide clarification.
  • Loading branch information
evelynmitchell authored and joshuaulrich committed Apr 19, 2018
1 parent e30854a commit 1716103
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions man/plot.xts.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,20 @@ separate panel.}

\item{yaxis.right}{if TRUE, draws the y axis on the right}

\item{major.ticks}{period to draw the ticks and labels on the x-axis}

\item{minor.ticks}{period to draw minor ticks on the x-axis. If \code{NULL}, minor ticks are not drawn.}

\item{grid.ticks.on}{period to draw the vertical grid lines on}
\item{major.ticks}{period to draw the ticks and labels on the x-axis. Values
are from \code{periodicity} and include \sQuote{minute}, \sQuote{hourly},
\sQuote{daily}, \sQuote{weekly}, \sQuote{monthly}, \sQuote{quarterly},
and \sQuote{yearly}.}

\item{minor.ticks}{period to draw minor ticks on the x-axis. If \code{NULL},
minor ticks are not drawn. Values are from \code{periodicity} and include
\sQuote{minute}, \sQuote{hourly}, \sQuote{daily}, \sQuote{weekly},
\sQuote{monthly}, \sQuote{quarterly}, and \sQuote{yearly}.}

\item{grid.ticks.on}{period to draw the vertical grid lines on. Values are
from \code{periodicity} and include \sQuote{minute}, \sQuote{hourly},
\sQuote{daily}, \sQuote{weekly}, \sQuote{monthly}, \sQuote{quarterly},
and \sQuote{yearly}.}

\item{grid.ticks.lwd}{line width of the grid}

Expand Down

0 comments on commit 1716103

Please sign in to comment.