WeibullDataSet.AddSuspensionInterval: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 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 ==
<div style="margin-right:150px;">
{{APIComment|'Declaration}}
  {{Template:WeibullDataSet.AddSuspensionInterval}}
</div>
Parameters
:''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 ==
<onlyinclude>Adds interval censored suspensions to the data set.</onlyinclude>


{{APIComment|Declare the WeibullDataSet. See [[New WeibullDataSet]] for additional details.}}
== Syntax  ==
        Dim WDS as New WeibullDataSet
'''.AddSuspensionInterval'''(''StartValue'', ''EndValue'', ''NumberInGroup'')


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