unidimensionalProjector: unidimensionalProjector

View source: R/QLSA.R

unidimensionalProjectorR Documentation

unidimensionalProjector

Description

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.

Usage

unidimensionalProjector(vector)

Arguments

vector

A unidimensional subspace in a vector format.

Value

The function will return a matrix with the projector of the subspace.


alejandrommingo/QLSA documentation built on March 19, 2022, 3:36 a.m.