WeibullDataSet.AddFailure: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
{{APIName|NumberInGroup}}
{{APIName|NumberInGroup}}
{{APIPrefix|As Integer}}
{{APIPrefix|As Integer}}
{{APIName|)}}
{{APIName|)}}<br>
{{APIComment|Inserts a failure point to the WeibullDataSet.}}
{{APIComment|Inserts a failure point to the WeibullDataSet.}}



Revision as of 15:38, 24 September 2013



Inserts a failure point

Method Syntax

AddFailure( ByVal Value As Double , ByVal NumberInGroup As Integer )
Inserts a failure point to the WeibullDataSet.

Parameters

Value The failure point in time.

NumberInGroup The number of units that failed at the Value time.

Adds a failure 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.AddFailure(1, 1)
       WDS.AddFailure(2, 1)
       WDS.AddFailure(3, 1)