Doptimize: Wrapper function for OApackage Doptimize function.

Description Usage Arguments Details Value

View source: R/Doptimize.R

Description

This function generates a single 2-level design with the specified number of runs and factors. The design is optimized for the criterium that is specified by the parameters alpha_i.

Usage

1
2
Doptimize(N, k, nrestarts, alpha1 = 1, alpha2 = 0, alpha3 = 0,
  verbose = 1, method = 0, niter = 1e+05, maxtime = 500)

Arguments

N

Number of runs

k

Number of factors

nrestarts

Number of restarts to generated an optimal design

alpha1

Parameter of the optimization function

alpha2

Parameter of the optimization function

alpha3

Parameter of the optimization function

verbose

Integer that determines the amount of debug output

method

Integer, default: 0. The method 0 uses updates of single elements of the design matrix. The method 1 uses swaps of 2 elements of the matrix.

niter

Integer (maximum number if iteration steps in the optimization)

maxtime

Float (maximum running time before aborting the optimization)

Details

The criterium that is optimized is: F = alpha1*D + alpha2*Ds + alpha3 * D1

Here D is the D-efficiency of the design and Ds and D1 other efficiency measures. The values alpha_i are scalar parameters. For more details see http://pietereendebak.nl/oapackage/Doptim.html

Value

A matrix containing the generated design


oapackage documentation built on May 29, 2017, 11:03 p.m.