WeibullDataSet.AddSuspensionInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}
{{Template:API}}{{Template:APIBreadcrumb|.[[WeibullDataSet Class|WeibullDataSet]]}}
{{Template:WeibullDataSet.AddSuspensionInterval.Cmt}}


== Syntax ==
{{Template:WeibullDataSet.AddSuspensionInterval}}


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


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


{{APIComment|Declare the WeibullDataSet. See [[New WeibullDataSet]] for additional details.}}
===Parameters===
        Dim WDS as New WeibullDataSet
''StartValue''
:Required. Double. The starting value of the suspension interval.


{{APIComment|Add values to the raw data.}}
''EndValue''
        WDS.AddSuspensionInterval(1, 5, 1)
:Required. Double. The ending value of the suspension interval.
        WDS.AddSuspensionInterval(6, 10, 1)
 
        WDS.AddSuspensionInterval(11, 15, 1)
''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.}}  
  WDS.AddSuspensionInterval(1, 5, 1)
  WDS.AddSuspensionInterval(6, 10, 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)