dotprod: dotproduct for two vectors

Usage Arguments Examples

View source: R/dotprod.R

Usage

1
dotprod(v1, v2)

Arguments

v1
v2

Examples

1
2
3
4
5
6
7
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (v1, v2) 
as.vector(v1) %*% as.vector(v2)

James-Thorson/movement_tools documentation built on May 7, 2019, 10:19 a.m.