Rdocumentation
powered by
Learn R Programming
rLindo (version 8.0.1)
rLSsampGenerate: Generate a sample of a given size with specified method from the underlying distribution.
Description
R interface function for LINDO API function
LSsampGenerate
. For more information, please refer to LINDO API User Manual.
Usage
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