makedistlist: Make list of distance matrices for calculating GP correlation...

Description Usage Arguments Value See Also Examples

View source: R/simdpp.r

Description

makedistlist() is a helper function used to setup the difference matrices that are used by the DPP models.

Usage

1
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

1
2
3
4
5
6
library(demu)

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

demu documentation built on Jan. 13, 2020, 5:06 p.m.