WeibullDataSet.AddSuspension: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "WeibullDataSet.AddSuspension" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
Inserts a suspension point
{{Template:WeibullDataSet.AddSuspension.Cmt}}


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


== Parameters ==
== Parameters ==

Revision as of 17:20, 29 January 2014


Adds suspensions to the data set, using the specified time and number of suspensions at that time.

Method Syntax

AddSuspension( Value As Double , NumberInGroup As Integer )


Parameters

Value The suspension point in time.

NumberInGroup The number of units that were suspended at the Value time

Adds a suspension 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.AddSuspension(1, 1)
       WDS.AddSuspension(2, 1)
       WDS.AddSuspension(3, 1)