cosine: Cosine measure

Description Methods Author(s) References See Also

Description

Determine the cosine closeness of vectors in the social semantic space (for various input formats): the cosine proximity is a measure of the angle between vectors.

It is closer or equal to 1, where the angle is small or zero; close to or equal to 0 where the angle is close to orthogonal or othogonal; it is close to or equal to -1, where the vectors are close to or in fact pointing into opposite directions.

Please note, that there is currently no known interpretation of the difference between the right and the straight angle (in the strech-truncated social semantic space, the underlying classical vector space does not have such property).

Methods

signature(x="matrix", y="missing")

Return cosine pairs (for columns of the matrix) as a proximity matrix.

signature(x="Performance", y="Performance")

Return cosine for the two performances.

signature(x="Performance", y="Person")

Return cosine between performance and person's position.

signature(x="Person", y="missing")

Return cosine for all performances to each other (as proximity matrix).

signature(x="Person", y="Person")

Return cosine for the two person's positions.

signature(x="vector", y="matrix")

Return cosine values between vector and all columns of the matrix.

signature(x="vector", y="vector")

Return cosine value between the two vectors.

Author(s)

Fridolin Wild <wild@brookes.ac.uk>

References

Fridolin Wild (2016): Learning Analytics in R with SNA, LSA, and MPIA, Springer:Berlin.

See Also

Person, Performance, cosine


mpia documentation built on May 2, 2019, 4:18 p.m.