View source: R/Linear_functions.R
lf_perpendicular | R Documentation |
Find linear function's perpendicular to supplied linear function through given point x
.
lf_perpendicular(x, lf, ...)
x |
point vector |
lf |
vector with slope and intercept of linear function or just the slope if intercept will be supplied by |
... |
intercept |
matrix with slope and intercept
Florian Wagner florian.wagner@wagnius.ch
lf_perpendicular(x = c(2,-9),
data.frame(slope = c(-3),intercept = c(5)))
lf_perpendicular(x = c(2,-9),
cbind(-3,5))
lf_perpendicular(x = c(2,-9),-3,5)
lf_perpendicular(x = c(2,-9), -3,5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.