WeibullDataSet.AddFailure: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) No edit summary |
Alex Ulanov (talk | contribs) |
||
(23 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Template: | {{Template:API}}{{Template:APIBreadcrumb|.[[WeibullDataSet Class|WeibullDataSet]]}} | ||
<onlyinclude>Adds a failure time to the data set.</onlyinclude> | |||
== | == Syntax == | ||
'''Value''' | '''.AddFailure'''(''Value'', ''NumberInGroup'') | ||
'' | ===Parameters=== | ||
The | ''Value'' | ||
:Required. Double. The exact time of failure. | |||
''NumberInGroup'' | |||
:Required. Double. The number of failed units at the time of failure. | |||
== | == Example == | ||
'''VBA''' | |||
{{APIComment|'Declare a new WeibullDataSet object.}} | |||
{{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet | |||
{{APIComment|'Add the failure times 10, 20 and 30 to the data set.}} | |||
{{APIPrefix|Call}} WDS.AddFailure(10, 1) | |||
{{APIPrefix|Call}} WDS.AddFailure(20, 1) | |||
{{APIPrefix|Call}} WDS.AddFailure(30, 1) | |||
{{APIComment|Declare | '''VB.NET''' | ||
{{APIComment|'Declare a new WeibullDataSet object.}} | |||
{{APIComment|Add | {{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet | ||
{{APIComment|'Add the failure times 10, 20 and 30 to the data set.}} | |||
WDS.AddFailure(10, 1) | |||
WDS.AddFailure(20, 1) | |||
WDS.AddFailure(30, 1) |
Latest revision as of 17:59, 16 January 2018
Member of: SynthesisAPI.WeibullDataSet
Adds a failure time to the data set.
Syntax
.AddFailure(Value, NumberInGroup)
Parameters
Value
- Required. Double. The exact time of failure.
NumberInGroup
- Required. Double. The number of failed units at the time of failure.
Example
VBA 'Declare a new WeibullDataSet object. Dim WDS As New WeibullDataSet 'Add the failure times 10, 20 and 30 to the data set. Call WDS.AddFailure(10, 1) Call WDS.AddFailure(20, 1) Call WDS.AddFailure(30, 1)
VB.NET 'Declare a new WeibullDataSet object. Dim WDS As New WeibullDataSet 'Add the failure times 10, 20 and 30 to the data set. WDS.AddFailure(10, 1) WDS.AddFailure(20, 1) WDS.AddFailure(30, 1)