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 ==
<div style="margin-right: 150px;">
  {{APIComment|'Declaration}}
  {{APIComment|'Declaration}}
   AddSuspension({{APIPrefix|ByVal}}Value{{APIPrefix|As Double}},{{APIPrefix|ByVal}}NumberInGroup{{APIPrefix|As Integer}})
   AddSuspension({{APIPrefix|ByVal}}Value{{APIPrefix|As Double}},{{APIPrefix|ByVal}}NumberInGroup{{APIPrefix|As Integer}})
 
</div>
Parameters
Parameters
:''Value'': The suspension time.
:''Value'': The suspension time.

Revision as of 23:12, 19 February 2014


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

Syntax

 'Declaration 
 AddSuspension(ByValValueAs Double,ByValNumberInGroupAs 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)