Point1D | R Documentation |
Point1D
is an R6::R6Class()
object representing one-dimensional points.
a
Numeric vector that parameterizes the point via the equation a * x + b = 0
.
b
Numeric vector that parameterizes the point via the equation a * x + b = 0
.
new()
Point1D$new(a, b)
a
Numeric vector that parameterizes the line via the equation a * x + b = 0
.
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.
...
Passed to 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.