You are here: Symbol Reference > Dew.Stats Namespace > StatControlCharts Class > StatControlCharts Methods > QCRChart Method
Dew Stats for .NET
Contents
PreviousUpNext
StatControlCharts.QCRChart Method

R-Chart.

C#
public QCRChart(TMtx Data, TVec DrawVec, ref double CL, ref double UCL, ref double LCL, double Confidence);
Parameters
Parameters 
Description 
Data 
Each Data row contains replicated observation taken at specific time. 
DrawVec 
Returns values to be drawn. 
CL 
Returns control Chart centerline. 
UCL 
Returns control Chart upper control limit. 
LCL 
Returns control Chart lower control limit. 
Confidence 
Confidence level for upper and lower control limit. Confidence must lie in the (0,1) interval. 

Calculates R-Chart drawing values, center line, upper and lower control limit.

The following code will create R chart:

using Dew.Math;
using Dew.Math.Units;
using Dew.Stats.Units;
namespace Dew.Examples
{
  private void Example()
  {
    Matrix Data = new Matrix(0,0);
    Vector DrawVec = new Vector(0);
    double cl,ucl,lcl;
    Data.LoadFromFile("data.mtx");
    StatControlCharts.QCRChart(Data,DrawVec,out cl, out ucl, out lcl, 0.025);
  }
}
What do you think about this topic? Send feedback!
Copyright (c) 1999-2010 by Dew Research. All rights reserved.