WeibullDataSet.AddSuspension

From ReliaWiki
Revision as of 17:07, 11 September 2013 by Albert Szeto (talk | contribs)
Jump to navigation Jump to search


Inserts a suspension point to the WeibullDataSet.

Declaration

AddSuspension( ByVal Value As Double , ByVal NumberInGroup As Integer )

Parameters

Value The suspension point in time.

NumberInGroup The number of units that were suspended at the Value time

Adds a suspension data point to the collection of data points in the data set.

Usage Example

Declare the WeibullDataSet. See New WeibullDataSet for additional details.

       Dim WDS as New WeibullDataSet

Add values to the raw data.

       WDS.AddSuspension(1, 1)
       WDS.AddSuspension(2, 1)
       WDS.AddSuspension(3, 1)

Get the number of suspensions. In this example, NumberOfSuspensions will be 3.

       Dim NumberOfSuspensions as Integer
       NumberOfSuspensions = WeibullDataSet.SuspensionCount