CandPoints {MaxPro} | R Documentation |
Generate Candidate Design Points Randomly for Various Types of Factors
Description
Quickly generate random candidate design points for different types of factors which can be used as an input to the MaxProAugment
function.
Usage
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
Examples
CCC<-CandPoints(N=10000,p_cont=3,l_disnum=c(3,3,4),l_nom=c(2,2,3))