WeibullDataSet.AddFailure: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "WeibullDataSet.AddFailure" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
Line 4: Line 4:


== Method Syntax ==
== Method Syntax ==
{{APIName|'''AddFailure'''(}}
{{Template:WeibullDataSet.AddFailure}}
{{APIPrefix|ByVal}}
{{APIName|Value}}
{{APIPrefix|As Double}}
{{APIName|,}}
{{APIPrefix|ByVal}}
{{APIName|NumberInGroup}}
{{APIPrefix|As Integer}}
{{APIName|)}}<br>
{{APIComment|Inserts a failure point to the WeibullDataSet.}}


== Parameters ==
== Parameters ==

Revision as of 16:45, 29 January 2014



Inserts a failure point

Method Syntax

AddFailure( Value As Double , NumberInGroup As Integer )

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)