Description Usage Arguments Details Value Note See Also Examples
Sample from/in a design object.
1 
X 
The object, typically a design matrix with class

size 
Number of sample points. 
atSample 
Logical. If 
... 
Other arguments to be passed to the 
From the object, size
'new' design points are sampled or
drawn. When atSample
is FALSE
, the range of each
column is computed or extracted from the object x
, and then
independent drawings from the corresponding uniform distributions
are used.
A matrix with size
rows. When atSample
is
TRUE
, the matrix has an attribute named index
which
gives the position of the sampled items in the original grid.
When x
is of class "Grid"
, it may be the case
that the drawings with atSample = FALSE
have no meaning since some
of the variables may be discrete variables and not continuous ones.
The sample
function.
1 2 3 4 5 6 7 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.