View source: R/expression_funks.R
| scalarProjection | R Documentation | 
a onto vector b, i.e.
the length of the segment of b 'overshadowed' by a. See
en.wikipedia.org/wiki/Vector_projectionComputes the scalar projection of vector a onto vector b, i.e.
the length of the segment of b 'overshadowed' by a. See
en.wikipedia.org/wiki/Vector_projection
scalarProjection(a, b)
a | 
 numerical representing first vector  | 
b | 
 numerical representing second vector  | 
A scalar value, the length of the segment of b overshadowed
by a.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.