Previous Next


PtoX Method (RDKResults Object)

Description

Returns the x-value associate with a given probability.

Syntax

object.PtoX(p as Double)

Arguments

p (Required Double) – the probability value to convert. Must be between 0 and 1.

Return Value

(Double) – the x-value.

Example

'Determine the median
median = RDKApp.Outputs("myOutput").Results.PtoX(.5)