Learn R Programming

rLindo (version 8.0.1)

rLSsampSetRG: Set a random number generator object to the specified distribution.

Description

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

Usage

rLSsampSetRG(sample,RG)

Arguments

sample
A LINDO API sample object, returned by rLSsampCreate.
RG
A LINDO API random generator object, returned by rLScreateRG.

Value

ErrorCode
Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com