Description Usage Arguments Details Value Author(s) Examples
Creates latin hypercube sampling designs for metrology applications
1 | LHSdesign(N,k,distrib,distrib.pars,x)
|
N |
The number of design points. |
k |
The number of the input variables of the numerical code. |
distrib |
A named list of length |
distrib.pars |
A named list of lists of parameters describing the distributions associated with |
x |
A named list containing the names of the input variables of the numerical code. See Details for defaults. |
This function contains a wrapper for the optimumLHS function in package lhs.
If distrib
or members of it are missing, an error message is displayed. Distributions have to be chosen among uniform(unif
), triangular(triang
), normal(norm
), truncated normal(tnorm
), student(t
), location-scale student(t.scaled
).
If distrib.pars
is missing or misspecified, the standardized parameters of the associated distributions in distrib
are used for all the variables in x
:
unif : min=0
, max=1
triang : min=0
, max=1
, mode=0.5
norm : mean=0
, sd=1
tnorm : mean=0
, sd=1
, lower=0
, upper=+Inf
t : nu=100
t.scaled : nu=100
, mean=0
, sd=1
If x
or members of it are missing, arbitrary names of the form 'Xn' are applied to the columns of the output table. Names are automatically abbreviated to 15 characters.
design.unif
A table containing the LHS design in the uniform space.
design.phys
A table containing the LHS design with margins in distrib
.
Severine Demeyer severine.demeyer@lne.fr
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.