makedistlist {cmce} | R Documentation |
Make list of distance matrices for calculating GP correlation matrices.
Description
makedistlist()
is a helper function used to setup the difference matrices that are used in calibrate()
's separable GP model.
Usage
makedistlist(design)
Arguments
design |
An |
Value
A list of p
matrices, each of dimension n x n
that contain the outer subtractions of each variable in the design matrix.
See Also
getranges
scaledesign
gp.realize
Examples
library(cmce)
design=matrix(runif(10,1,5),ncol=2,nrow=5)
r=getranges(design)
design=scaledesign(design,r)
l.v=makedistlist(design)
[Package cmce version 0.1.0 Index]