CandPoints: Generate Candidate Design Points Randomly for Various Types...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/CandPoints.R

Description

Quickly generate random candidate design points for different types of factors which can be used as an input to the MaxProAugment function.

Usage

1
CandPoints(N,p_cont,l_disnum=NULL,l_nom=NULL)

Arguments

N

The number of random candidate design points to generate

p_cont

The number of continuous factors

l_disnum

Optional, default is “NULL”. A vector containing the number of levels for each discrete numeric factor (NULL if there are no discrete numeric factors)

l_nom

Optional, default is “NULL”. A vector containing the number of levels for each nominal factor (NULL if there are no nominal factors)

Details

This function generates uniform random numbers for each continuous factor and randomly sampled levels for each discrete numeric and nominal factor. The result can be used as the candidate design in the MaxProAugment function.

Value

The value returned from the function is a matrix containing the candidate design points.

Author(s)

Shan Ba <shanbatr@gmail.com> and V. Roshan Joseph <roshan@isye.gatech.edu>

See Also

MaxProAugment

Examples

1
CCC<-CandPoints(N=10000,p_cont=3,l_disnum=c(3,3,4),l_nom=c(2,2,3))

MaxPro documentation built on May 2, 2019, 6:59 a.m.