Description
Returns if a distribution uses an x- or p- value table. A value table is an argument to a distribution function that requires an array (a "table") of values. For example, the RISKNormal function does not use any value tables, the RISKHistogrm function uses a p- value table, and the RISKGeneral function uses both an x- and a p- value table. Use the GetValueTable and SetValueTable methods to return or set the actual values.
Syntax
object.UsesTable(XOrP as Integer)
Arguments
XOrP (Required Integer) – 0 to check if an x-table is used, 1 to check if a p-table is used.
Return Value
(Boolean) – TRUE if a table is used, FALSE if not.
Example
usesXTable = distObj.UsesTable(0)
usesPTable = distObj.UsesTable(1)