WeibullDataSet.AddSuspension: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
'''NumberInGroup'''
'''NumberInGroup'''
The number of units that were suspended at the '''Value''' time
The number of units that were suspended at the '''Value''' time
{{APIComment|Adds a suspension data point to the collection of data points in the data set.}}


== Usage Example ==
== Usage Example ==

Revision as of 17:26, 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

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)