Latin Hypercube Samples (lhs)
1.0
R, C++, and Rcpp code to generate Latin hypercube samples
|
#include "oalhs_r.h"
Functions | |
RcppExport SEXP | oa_to_lhs (SEXP n, SEXP k, SEXP oa, SEXP bverbose) |
RcppExport SEXP | create_oalhs (SEXP n, SEXP k, SEXP bChooseLargerDesign, SEXP bverbose) |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
RcppExport SEXP create_oalhs | ( | SEXP | n, |
SEXP | k, | ||
SEXP | bChooseLargerDesign, | ||
SEXP | bverbose | ||
) |
Create an Orthogonal Array Latin hypercube sample
n | the number of rows in the LHS |
k | the number of parameters or columns in the LHS |
bChooseLargerDesign | should a larger design than the one requested be created to match the oa generator |
bverbose | should information be printed d |
RcppExport SEXP oa_to_lhs | ( | SEXP | n, |
SEXP | k, | ||
SEXP | oa, | ||
SEXP | bverbose | ||
) |
Create a Latin hypercube sample from an orthogonal array
n | the number of rows in the LHS |
k | the number of parameters or columns in the LHS |
oa | the orthogonal array to be used as the basis for the LHS |
bverbose | should information be printed d |