vcos {fungible}R Documentation

Compute the Cosine Between Two Vectors

Description

Compute the cosine between two vectors.

Usage

vcos(x, y)

Arguments

x

A p x 1 vector.

y

A p x 1 vector.

Value

Cosine between x and y

Examples


x <- rnorm(5)
y <- rnorm(5)
vcos(x, y)


[Package fungible version 2.4.4 Index]