WeibullDataSet.AddSuspension: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


== Syntax ==
== Syntax ==
*AddSuspension(Value{{APIPrefix|As Double}}, NumberInGroup{{APIPrefix|As Integer}})  
*AddSuspension( Value{{APIPrefix|As Double}}, NumberInGroup{{APIPrefix|As Integer}})  
Parameters
Parameters
:''Value'': The suspension time.
:''Value'': The suspension time.

Revision as of 20:08, 21 February 2014


Adds suspensions to the data set, using the specified time and number of suspensions at that time.

Syntax

  • AddSuspension( ValueAs Double, NumberInGroupAs Integer)

Parameters

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

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)