V1: Distance matrix

Description Usage Arguments Value Author(s) References See Also Examples

Description

Gives the distance matrix between rows of D1 and D1 (or, if supplied, another matrix)

Usage

1
V1(D1,  other = NULL, phi)

Arguments

D1

Matrix of code run points

other

Second matrix to compute distances to. If NULL, use the first supplied matrix

phi

Hyperparameters

Value

Returns a matrix

Author(s)

Robin K. S. Hankin

References

See Also

V2

Examples

1
2
3
4
5
6
7
data(toys)
V1(D1=D1.toy,  other=NULL,   phi=phi.toy)
V1(D1=D1.toy[1,,drop=FALSE], other=NULL, phi=phi.toy)

V1(D1=D1.toy,  other=D1.toy[1:3,],   phi=phi.toy)

V1(D1=D1.toy,other=D1.fun(x.star=x.vec,t.vec=theta.toy),phi=phi.toy)

RobinHankin/calibrator documentation built on April 27, 2021, 2:47 p.m.