View source: R/expression_funks.R
| perpVecToDiagonal | R Documentation |
x to the vector space's diagonal.
The perpendicular points towards x.Drops a perpendicular from vector x to the vector space's diagonal.
The perpendicular points towards x.
perpVecToDiagonal(x, d.v = rep(1, length(x)))
x |
numeric representing a vector in n-dimensional space |
d.v |
numeric the diagonal vector in n-dimensional space. Default is
|
A vector in the same space of x, the perpendicular.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.