Learn R Programming

rrepast (version 0.8.0)

AoE.LatinHypercube: AoE.LatinHypercube

Description

Generate a LHS sample for model parameters

Usage

AoE.LatinHypercube(n = 10, factors = c(), convert = TRUE)

Arguments

n

The number of samples

factors

The model's parameters which will be evaluated

convert

Adjust experiment matrix to parameter scale

Value

The LHS design matrix for provided parameters

Details

Generate the LHS sampling for evaluating the parameters of a model.

Examples

Run this code
# NOT RUN {
 f<- AddFactor(name="cyclePoint",min=40,max=90)
 f<- AddFactor(factors=f, name="conjugationCost",min=1,max=80)
 d<- AoE.LatinHypercube(2,f)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab