CandPoints: 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)
Value
The value returned from the function is a matrix containing the candidate design points.
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.