Learn R Programming

rLindo (version 8.0.1)

rLSsampGetDiscretePdfTable: Get the PDF table from a discrete distribution sample.

Description

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

Usage

rLSsampGetDiscretePdfTable(sample)

Arguments

sample
A LINDO API sample object, returned by rLSsampCreate.

Value

ErrorCode
Zero if successful, nonzero otherwise.
pnLen
The table length.
padProb
A double array containing the probabilities of outcomes.
padVals
A double array containing the values of outcomes.

References

LINDO SYSTEMS home page at www.lindo.com