as_coord1d | R Documentation |
as_coord1d()
casts to a Coord1D class object
as_coord1d(x, ...)
## S3 method for class 'character'
as_coord1d(x, ...)
## S3 method for class 'Coord2D'
as_coord1d(
x,
permutation = c("xy", "yx"),
...,
line = as_line2d("x-axis"),
scale = 0
)
## S3 method for class 'data.frame'
as_coord1d(x, ...)
## S3 method for class 'list'
as_coord1d(x, ...)
## S3 method for class 'matrix'
as_coord1d(x, ...)
## S3 method for class 'numeric'
as_coord1d(x, ...)
## S3 method for class 'Coord1D'
as_coord1d(x, ...)
## S3 method for class 'Point1D'
as_coord1d(x, ...)
x |
An object that can be cast to a Coord1D class object such as a numeric vector of x-coordinates. |
... |
Further arguments passed to or from other methods |
permutation |
Either "xy" (no permutation) or "yx" (permute x and y axes) |
line |
A Line2D object of length one representing the line
you with to reflect across or project to or an object coercible to one by |
scale |
Oblique projection scale factor.
A degenerate |
A Coord1D class object
as_coord1d(x = rnorm(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.