distvec {scGPS} | R Documentation

## Compute Distance between two vectors

### Description

Compute Distance between two vectors

### Usage

    distvec(x, y)

### Arguments

`x` | A numeric vector
`y` | A numeric vector

### Value

a numeric distance

### Examples

    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)

[Package scGPS version 1.2.0 Index]