as_coord1d()
casts to a Coord1D class object
as_coord1d(x, ...)# S3 method for character
as_coord1d(x, ...)
# S3 method for Coord2D
as_coord1d(
x,
permutation = c("xy", "yx"),
...,
line = as_line2d("x-axis"),
scale = 0
)
# S3 method for data.frame
as_coord1d(x, ...)
# S3 method for list
as_coord1d(x, ...)
# S3 method for matrix
as_coord1d(x, ...)
# S3 method for numeric
as_coord1d(x, ...)
# S3 method for Coord1D
as_coord1d(x, ...)
# S3 method for Point1D
as_coord1d(x, ...)
A Coord1D class object
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
Either "xy" (no permutation) or "yx" (permute x and y axes)
A Line2D object of length one representing the line
you with to reflect across or project to or an object coercible to one by as_line2d(line, ...)
such as "x-axis" or "y-axis".
Oblique projection scale factor.
A degenerate 0
value indicates an orthogonal projection.