rLSsampGenerate: Generate a sample of a given size with specified method from...

Description Usage Arguments Value References

View source: R/rLindo.R

Description

R interface function for LINDO API function LSsampGenerate. For more information, please refer to LINDO API User Manual.

Usage

1
rLSsampGenerate(sample,nMethod,nSize)

Arguments

sample

A LINDO API sample object, returned by rLSsampCreate.

nMethod

An integer specifying the sampling method. Possible values are:

  • LS_MONTECARLO

  • LS_LATINSQUARE

  • LS_ANTITHETIC

nSize

An integer specifying the sample size.

Value

ErrorCode

Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com


rLindo documentation built on May 1, 2019, 10:11 p.m.