powered by
as_point1d() casts to a Point1D object.
as_point1d()
as_point1d(...)# S3 method for numeric as_point1d(a, b, ...)# S3 method for character as_point1d(x, ...)# S3 method for Coord1D as_point1d(normal, ...)# S3 method for Point1D as_point1d(point, ...)
# S3 method for numeric as_point1d(a, b, ...)
# S3 method for character as_point1d(x, ...)
# S3 method for Coord1D as_point1d(normal, ...)
# S3 method for Point1D as_point1d(point, ...)
Passed to other function such as as_coord2d().
as_coord2d()
Numeric vectors that parameterize the point via the equation a * x + b = 0. Note this means that x = -b / a.
a * x + b = 0
x = -b / a
A (character) vector to be cast to a Point1D object
Coord1D class object.
A Point1D object
p1 <- as_point1d(a = 1, b = 0)
Run the code above in your browser using DataLab