vecjection | R Documentation |
Oftentimes it is useful to constrain a vector to lie on a line or a plane. Vector projection and rejection is able to do these operations. Projection reduces all vectors to lie on the line of the vector given, and rejection reduces all vectors to lie on the place normal the the specified vector.
project(x, onto) reject(x, from)
x |
Vectors to project or reject |
onto, from |
The vector to project onto or reject from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.