WeibullDataSet.AddSuspensionInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:API}}{{Template:APIBreadcrumb|.[[WeibullDataSet Class|WeibullDataSet]]}}
{{Template:WeibullDataSet.AddSuspensionInterval.Cmt}}


== Syntax ==
*AddSuspensionInterval( StartValue{{APIPrefix|As Double}}, EndValue{{APIPrefix|As Double}}, NumberInGroup{{APIPrefix|As Integer}})         


Parameters
<onlyinclude>Adds interval censored suspensions to the data set.</onlyinclude>
:''StartValue'': The starting value of the suspension interval.
:''EndValue'': The ending value of the suspension interval.
:''NumberInGroup'': The number of units that were suspended during the interval.


== Usage Example ==
== Syntax  ==
'''.AddSuspensionInterval'''(''StartValue'', ''EndValue'', ''NumberInGroup'')


  {{APIComment|Declare a new WeibullDataSet object. See [[WeibullDataSet Class|WeibullDataSet]].}}
===Parameters===
  Dim WDS as New WeibullDataSet
''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'''
  {{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.}}  
  {{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet
    
    
  {{APIComment|Add interval suspensions to the data set.}}
  {{APIComment|'Add interval suspensions to the data set.}}  
  WDS.AddSuspensionInterval(1, 5, 1)
  WDS.AddSuspensionInterval(1, 5, 1)
  WDS.AddSuspensionInterval(6, 10, 1)
  WDS.AddSuspensionInterval(6, 10, 1)
  WDS.AddSuspensionInterval(11, 15, 1)
  WDS.AddSuspensionInterval(11, 15, 1)

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)