powered by
Point1D is an R6::R6Class() object representing one-dimensional points.
Point1D
R6::R6Class()
a
Numeric vector that parameterizes the point via the equation a * x + b = 0.
a * x + b = 0
b
Point1D$new()
Point1D$print()
Point1D$clone()
new()
Point1D$new(a, b)
Numeric vector that parameterizes the line via the equation a * x + b = 0.
print()
Point1D$print(n = NULL, ...)
n
Number of lines to print. If NULL print all of them.
NULL
...
Passed to format.default().
format.default()
clone()
The objects of this class are cloneable with this method.
Point1D$clone(deep = FALSE)
deep
Whether to make a deep clone.
p1 <- as_point1d(a = 1, b = 5)
Run the code above in your browser using DataLab