| Line 23... |
Line 23... |
| 23 |
\item{x, y}{the \code{x} and \code{y} arguments provide the x and y
|
23 |
\item{x, y}{the \code{x} and \code{y} arguments provide the x and y
|
| 24 |
coordinates for the plot. Any reasonable way of defining the
|
24 |
coordinates for the plot. Any reasonable way of defining the
|
| 25 |
coordinates is acceptable. See the function \code{\link{xy.coords}}
|
25 |
coordinates is acceptable. See the function \code{\link{xy.coords}}
|
| 26 |
for details. If supplied separately, they must be of the same length.}
|
26 |
for details. If supplied separately, they must be of the same length.}
|
| 27 |
\item{type}{1-character string giving the type of plot desired. The
|
27 |
\item{type}{1-character string giving the type of plot desired. The
|
| 28 |
following values are possible, for details, see \code{\link{plot}}:
|
28 |
following values are possible, for details, see \code{\link[base]{plot}}:
|
| 29 |
\code{"p"} for points, \code{"l"} for lines,
|
29 |
\code{"p"} for points,
|
| - |
|
30 |
\code{"l"} for lines,
|
| 30 |
\code{"b"} for both points and lines,
|
31 |
\code{"b"} for both points and lines,
|
| 31 |
\code{"c"} for empty points joined by lines,
|
32 |
\code{"c"} for empty points joined by lines,
|
| 32 |
\code{"o"} for overplotted points and lines,
|
33 |
\code{"o"} for overplotted points and lines,
|
| 33 |
\code{"s"} and \code{"S"} for stair steps and
|
34 |
\code{"s"} and \code{"S"} for stair steps and
|
| 34 |
\code{"h"} for histogram-like vertical lines. Finally,
|
35 |
\code{"h"} for histogram-like vertical lines. Finally,
|
| Line 127... |
Line 128... |
| 127 |
Monterey, CA: Wadsworth.
|
128 |
Monterey, CA: Wadsworth.
|
| 128 |
|
129 |
|
| 129 |
Murrell, P. (2005) \emph{R Graphics}. Chapman & Hall/CRC Press.
|
130 |
Murrell, P. (2005) \emph{R Graphics}. Chapman & Hall/CRC Press.
|
| 130 |
}
|
131 |
}
|
| 131 |
\seealso{
|
132 |
\seealso{
|
| 132 |
\code{\link{plot}}, \code{\link{plot.window}}, \code{\link{xy.coords}}.
|
133 |
\code{\link[base]{plot}}, \code{\link{plot.window}}, \code{\link{xy.coords}}.
|
| 133 |
For thousands of points, consider using \code{\link{smoothScatter}}
|
134 |
For thousands of points, consider using \code{\link{smoothScatter}}
|
| 134 |
instead.
|
135 |
instead.
|
| 135 |
}
|
136 |
}
|
| 136 |
\examples{
|
137 |
\examples{
|
| 137 |
Speed <- cars$speed
|
138 |
Speed <- cars$speed
|