-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add S3 methods for lines.xts and points.xts
s/addPoints/points.xts git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/xts/pkg/xts@869 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
- Loading branch information
Showing
4 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
\name{lines.xts} | ||
\alias{lines.xts} | ||
\title{Add time series lines to an existing xts plot} | ||
\usage{ | ||
\method{lines}{xts}(x, ..., main = "", on = NA, col = NULL, lty = 1, | ||
lwd = 1, pch = 0) | ||
} | ||
\arguments{ | ||
\item{x}{an xts object to plot.} | ||
|
||
\item{\dots}{any other passthrough parameters. Not currently used.} | ||
|
||
\item{main}{main title for a new panel if drawn.} | ||
|
||
\item{on}{panel number to draw on. A new panel will be drawn if \code{on=NA}.} | ||
|
||
\item{col}{color palette to use, set by default to rational choices.} | ||
|
||
\item{lty}{set the line type, same as in \code{\link{plot}}.} | ||
|
||
\item{lwd}{set the line width, same as in \code{\link{plot}}.} | ||
|
||
\item{pch}{the type of plot to be drawn, same as in \code{\link{plot}}.} | ||
} | ||
\description{ | ||
Add time series lines to an existing xts plot | ||
} | ||
\author{ | ||
Ross Bennett | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters