miM: The miniMax criterion baesd on an approximate fill distance...

Description Usage Arguments Details Value Examples

View source: R/function.r

Description

The miniMax criterion baesd on an approximate fill distance measure

Usage

1
miM(D, num = 50)

Arguments

D

a design matrix, rows are design locations, columns are design factors

num

Optional, default is "50". The fineness of the gridded points to divide the design space. Each dimension is evenly divided by num+1 points. Lower this parameter when dimension is high to reduce computing time.

Details

This function calculates the approximate fill distance for the design by using a set of gridded points, the maximum error of the value can be computed.

Value

fill distance with 4 decimals

Examples

1
2
#Compute the approximate fill distance of a design D
d=miM(D = cbind(c(0.875,0.375,0.125,0.625),c(0.375,0.125,0.625,0.875)), num = 20)

MOLHD documentation built on May 2, 2019, 8:38 a.m.