Rdocumentation
powered by
Learn R Programming
rLindo (version 8.0.1)
rLSgetDiscreteBlocks: Get the stochastic data for the discrete block event at specified index.
Description
R interface function for LINDO API function
LSgetDiscreteBlocks
. For more information, please refer to LINDO API User Manual.
Usage
rLSgetDiscreteBlocks(model,iEvent)
Arguments
model
A LINDO API model object, returned by
rLScreateModel
.
iEvent
Index of the discrete block event.
Value
An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
nDistType
Distribution type of the event.
iStage
Stage index of the block event.
nRealzBlock
Number of block realizations in the event.
padProbs
A double array containing the event probabilities.
iModifyRule
A flag indicating whether stochastic parameters update the core model by adding or replacing.
References
LINDO SYSTEMS home page at www.lindo.com