WeibullDataSet.AddSuspension: Difference between revisions

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


== Usage Example ==
== Usage Example ==
 
{{APIComment|'Declare a new WeibullDataSet object. See [[WeibullDataSet Class|WeibullDataSet]].}}
{{APIComment|Declare the WeibullDataSet. See [[New WeibullDataSet]] for additional details.}}
  Dim WDS as New WeibullDataSet
        Dim WDS as New WeibullDataSet
 
 
{{APIComment|'Add suspensions at times 1, 2 and 3 to the data set.}}
{{APIComment|Add values to the raw data.}}
  WDS.AddSuspension(1, 1)
        WDS.AddSuspension(1, 1)
  WDS.AddSuspension(2, 1)
        WDS.AddSuspension(2, 1)
  WDS.AddSuspension(3, 1)
        WDS.AddSuspension(3, 1)

Revision as of 18:17, 6 May 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 a new WeibullDataSet object. See WeibullDataSet. 
 Dim WDS as New WeibullDataSet
 
 'Add suspensions at times 1, 2 and 3 to the data set. 
 WDS.AddSuspension(1, 1)
 WDS.AddSuspension(2, 1)
 WDS.AddSuspension(3, 1)