CosineDist: Compute the cosine distance matrix.

View source: R/CosineDist.R

CosineDistR Documentation

Compute the cosine distance matrix.

Description

This function takes a matrix as input, and computes the cosine distance (1 - cosine similarity) between the observations.

Usage

CosineDist(input.mat = NULL)

Arguments

input.mat

The input matrix. Defaults to NULL.

Author(s)

Jack Leary

Examples

## Not run: 
CosineDist(input.mat = pca_matrix)

## End(Not run)

jr-leary7/SCISSORS documentation built on April 20, 2023, 8:21 p.m.