unidimensionalProjector | R Documentation |
unidimensionalProjector is a function that takes a unidimensional subspace and calculates its projector using the outter product operation. You can use the 'wordVector' function to extract a word vector and calculate its unidimensional projector.
unidimensionalProjector(vector)
vector |
A unidimensional subspace in a vector format. |
The function will return a matrix with the projector of the subspace.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.