cpf2: Combine Pareto front designs of 2 criteria

Description Usage Arguments Details Value Examples

View source: R/combine.r

Description

Combine Pareto front designs of 2 criteria

Usage

1
cpf2(newdes, newpfval, curdes, curpfval)

Arguments

newdes

a matrix which is a column bind of new designs

newpfval

a matrix each row is 2 criteria correponding to each design

curdes

a matrix which is a column bind of current designs on Pareto front

curpfval

a matrix each row is 2 criteria correponding to each Pareto front design

Details

This function is used to combine 2 criteria Pareto front designs

Value

pfdes

The column bind of Pareto front designs

pfvals

The Pareto front values corresponding to the Pareto front designs

Examples

1
2
3
4
5
6
7
8
9
#Combine Pareto fronts each with 5 random starts for Mm and mp criteria
## Not run: 
pf1=pfMp(20,2,crlim = cbind(c(4.5,6.5),c(26,36)),nstarts = 5)
pf2=pfMp(20,2,crlim = cbind(c(4.5,6.5),c(26,36)),nstarts = 5)
pfnew=cpf2(pf1$pfdes,pf1$pfvals,pf2$pfdes,pf2$pfvals)
pfnew$pfdes
pfnew$pfvals

## End(Not run)

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