makedistlist {demu}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 by the DPP models.

Usage

makedistlist(design)

Arguments

design

An n \times p matrix of input settings

Value

A list of p matrices, each of dimension n \times n that contain the outer subtractions of each variable in the design matrix.

See Also

getranges scaledesign

Examples

library(demu)

design=matrix(runif(10,1,5),ncol=2,nrow=5)
r=getranges(design)
design=scaledesign(design,r)
l.v=makedistlist(design)

[Package demu version 0.3.0 Index]