rLSsampLoadDiscretePdfTable: Load a PDF table for a user defined discrete distribution.

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
rLSsampLoadDiscretePdfTable(sample,nLen,padProb,padVals)

Arguments

sample

A LINDO API sample object, returned by rLSsampCreate.

nLen

An integer specifying the table length.

padProb

A double array containing the probabilities of outcomes.

padVals

A double array containing the values of outcomes.

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.