Learn R Programming

CompExpDes (version 1.0.8)

wtLHDs_prime: Weighted Criteria-Based Latin Hypercube Designs (LHDs) for Prime Numbers

Description

Weighted Criteria-Based Latin Hypercube Designs (LHDs) for Prime Numbers

Usage

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

Value

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

Arguments

levels

Range of levels,L is F<=L<=F^2, where, F is number of factors.

factors

Any number of prime factors, F >=3.

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.

Examples

Run this code
library(CompExpDes)
wtLHDs_prime(9,3,1,0,0)

Run the code above in your browser using DataLab