View source: R/discrete_rv_self.R
discrete_rv_self | R Documentation |
function to generate discrete uniform random variables for initial random design points in ForLion
discrete_rv_self(n, xlist)
n |
number of discrete random variables |
xlist |
list of levels for variables to be generated |
list of discrete uniform random variables
n=3 #three discrete random variables
xlist=list(c(-1,1),c(-1,1),c(-1,0,1)) #two binary and one three-levels
discrete_rv_self(n, xlist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.