WeibullDataSet.AddFailure: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) |
||
Line 3: | Line 3: | ||
Inserts a failure point to the WeibullDataSet. | Inserts a failure point to the WeibullDataSet. | ||
== | == Method Syntax == | ||
{{APIName|AddFailure(}} | {{APIName|AddFailure(}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} | ||
Line 15: | Line 14: | ||
{{APIName|)}} | {{APIName|)}} | ||
== Parameters == | |||
'''Value''' | |||
The failure point in time. | |||
'''NumberInGroup''' | |||
The number of units that failed at the Value time. | |||
{{APIComment|Adds a failure data point to the collection of data points in the data set.}} | {{APIComment|Adds a failure data point to the collection of data points in the data set.}} |
Revision as of 17:02, 11 September 2013
Inserts a failure point to the WeibullDataSet.
Method Syntax
AddFailure( ByVal Value As Double , ByVal 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)
Get the number of failures. In this example, NumberOfFailures will be 3.
Dim NumberOfFailures as Integer NumberOfFailures = WeibullDataSet.FailureCount