cosine_similarity_matrix: Calculate cosine similarity between the rows of a matrix

Description Usage Arguments Value

View source: R/unsupervised.R

Description

This function calculates the cosine similarity between the rows of an input matrix, according to the values of the variables in the columns

Usage

1

Arguments

m

An N x P matrix

Value

Returns an N x N matrix with the cosine similarity between the corresponding rows in m


ParkerICI/scgraphs documentation built on April 30, 2021, 1:10 p.m.