distvec: Compute Distance between two vectors

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Compute Distance between two vectors

Usage

1
distvec(x, y)

Arguments

x

A numeric vector

y

A numeric vector

Value

a numeric distance

Examples

1
2
3
4
5
x <-matrix(rnbinom(1000,mu=0.01, size=10),nrow=1000)
x <- x[1,]
y <-matrix(rnbinom(1000,mu=0.01, size=10),nrow=1000)
y <- y[1,]
distvec(x, y)

IMB-Computational-Genomics-Lab/scGPS documentation built on Dec. 6, 2020, 3:20 p.m.