V1 {calibrator}R Documentation

Distance matrix

Description

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

Usage

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

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)


[Package calibrator version 1.2-8 Index]