wtLHDs: Weighted Criteria-Based Latin Hypercube Designs (LHDs) for...

wtLHDsR Documentation

Weighted Criteria-Based Latin Hypercube Designs (LHDs) for Any Numbers of Factors (>=2)

Description

Weighted Criteria-Based Latin Hypercube Designs (LHDs) for Any Numbers of Factors (>=2)

Usage

wtLHDs(
  levels,
  factors,
  w1,
  w2,
  w3,
  pop_size = 30,
  generations = 100,
  mut_prob = 0.05
)

Arguments

levels

Range of levels,L is F<=L<=choose(F+2,2), where, F is number of factors.

factors

Any number of factors, F >=2.

w1

Weight of maximum absolute correlation. Between 0 to 1. So that w1+w2+w3=1.

w2

Weight of Phi_p criterion. Between 0 to 1. So that w1+w2+w3=1.

w3

Weight of Maxpro criterion. Between 0 to 1. So that w1+w2+w3=1.

pop_size

Default population size is 30.

generations

Default number of generations is 100.

mut_prob

Mutation probability, by default it is 0.05.

Value

Generates Latin hypercube designs for a given number of factor-level combinations.

Examples

library(CompExpDes)
wtLHDs_prime(9,3,0.5,0.5,0)

CompExpDes documentation built on Aug. 8, 2025, 7:22 p.m.