WeibullDataSet.AddFailureInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
Inserts a failure interval to the WeibullDataSet.
== Declaration  ==
== Declaration  ==
{{APIPrefix|Sub}}
{{APIName|AddFailureInterval(}}
{{APIName|AddFailureInterval(}}
{{APIPrefix|ByVal}}
{{APIPrefix|ByVal}}
Line 16: Line 18:
{{APIName|)}}
{{APIName|)}}


== Parameters ==
'''Value'''
The starting value of this failure interval.
''EndValue''
The ending value of this failure interval.
'''NumberInGroup'''
The number of units that failed during this interval.


{{APIComment|Adds a Failure interval data point to the collection of data points in the data set.}}
{{APIComment|Adds a Failure interval data point to the collection of data points in the data set.}}
== Usage Example ==
{{APIComment|Declare the WeibullDataSet. See [[New WeibullDataSet]] for additional details.}}
        Dim WDS as New WeibullDataSet
{{APIComment|Add values to the raw data.}}
        WDS.AddFailureInterval(1, 5, 1)
        WDS.AddFailureInterval(6, 10, 1)
        WDS.AddFailureInterval(11, 15, 1)

Revision as of 17:31, 11 September 2013



Inserts a failure interval to the WeibullDataSet.

Declaration

AddFailureInterval( ByVal Value As Double , ByVal EndValue As Double , ByVal NumberInGroup AsLong )


Parameters

Value The starting value of this failure interval.

EndValue The ending value of this failure interval.

NumberInGroup The number of units that failed during this interval.

Adds a Failure interval 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.AddFailureInterval(1, 5, 1)
       WDS.AddFailureInterval(6, 10, 1)
       WDS.AddFailureInterval(11, 15, 1)