Learn R Programming

MOLHD (version 0.2)

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

Description

The miniMax criterion baesd on an approximate fill distance measure

Usage

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.

Value

fill distance with 4 decimals

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.

Examples

Run this code
# NOT RUN {
#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)
# }

Run the code above in your browser using DataLab