Learn R Programming

rLindo (version 8.0.1)

rLSsampCreate: Create an instance of a sample of specified distribution.

Description

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

Usage

rLSsampCreate(env,nDistType)

Arguments

env
A LINDO API environment object, returned by rLScreateEnv.
nDistType
The distribution type.

Value

If successful, rLSsampCreate returns a LINDO API sample object; Otherwise, it returns NULL.

Details

Before this function is called, rLScreateEnv must be called to get a valid LINDO API environment object.

References

LINDO SYSTEMS home page at www.lindo.com