WeibullDataSet.AddSuspensionInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 19: Line 19:


== Example ==
== Example ==
  '''VBA|VB.NET'''
  '''VBA'''
{{APIComment|'Declare a new WeibullDataSet object.}}
  {{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet
 
{{APIComment|'Add interval suspensions to the data set.}}
  {{APIPrefix|Call}} WDS.AddSuspensionInterval(1, 5, 1)
  {{APIPrefix|Call}} WDS.AddSuspensionInterval(6, 10, 1)
  {{APIPrefix|Call}} WDS.AddSuspensionInterval(11, 15, 1)
 
'''VB.NET'''
   
   
  {{APIComment|'Declare a new WeibullDataSet object.}}  
  {{APIComment|'Declare a new WeibullDataSet object.}}  

Latest revision as of 22:18, 30 March 2016

APIWiki.png


Member of: SynthesisAPI.WeibullDataSet


Adds interval censored suspensions to the data set.

Syntax

.AddSuspensionInterval(StartValue, EndValue, NumberInGroup)

Parameters

StartValue

Required. Double. The starting value of the suspension interval.

EndValue

Required. Double. The ending value of the suspension interval.

NumberInGroup

Required. Integer. The number of units that were suspended during the interval.


Example

VBA

 'Declare a new WeibullDataSet object.  
  Dim WDS As New WeibullDataSet
 
 'Add interval suspensions to the data set.  
  Call WDS.AddSuspensionInterval(1, 5, 1)
  Call WDS.AddSuspensionInterval(6, 10, 1)
  Call WDS.AddSuspensionInterval(11, 15, 1)
VB.NET

 'Declare a new WeibullDataSet object.  
  Dim WDS As New WeibullDataSet
 
 'Add interval suspensions to the data set.  
  WDS.AddSuspensionInterval(1, 5, 1)
  WDS.AddSuspensionInterval(6, 10, 1)
  WDS.AddSuspensionInterval(11, 15, 1)