WeibullDataSet.AddFailure: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
== Usage Example == | == Usage Example == | ||
{{APIComment|Declare | {{APIComment|Declare a new WeibullDataSet object. See [[WeibullDataSet Class|WeibullDataSet]].}} | ||
Dim WDS as New WeibullDataSet | |||
{{APIComment|Add the failure times 1, 2 and 3 to the data set.}} | |||
{{APIComment|Add | WDS.AddFailure(1, 1) | ||
WDS.AddFailure(2, 1) | |||
WDS.AddFailure(3, 1) | |||
Revision as of 18:16, 6 May 2014
Adds failure times to the data set, using the specified time and number of failures at that time.
Syntax
- AddFailure(ValueAs Double, NumberInGroupAs Integer)
Parameters
- Value: The exact time of failure.
- NumberInGroup: The number of units that failed at the Value time.
Usage Example
Declare a new WeibullDataSet object. See WeibullDataSet. Dim WDS as New WeibullDataSet Add the failure times 1, 2 and 3 to the data set. WDS.AddFailure(1, 1) WDS.AddFailure(2, 1) WDS.AddFailure(3, 1)