GRRレポートこんにちは、
私は、GRRプロットを生成し、要約表を作成するスクリプトを持っています。 問題は、片側と両側の仕様が混在していて、「結合データテーブルを作成する」コマンドを使用すると、最初のパラメーターに基づいて片側の仕様または両面の仕様のみが表示されることです。
スクリプトで両方のサマリーテーブルを取得するにはどうすればよいですか?
new window ("GRR",
for (i = 1, i <= N items (ColList), i++,
variability chart (
Y ((ColList [i])),
X (:Operators, :Parts),
Model ("Crossed"),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Show group means (1),
Points Jittered( 1 ),
AIAG Labels( 0 ),
Show Box Plots( 1 ),
Mean Diamonds( 1 ),
Mean Plots( 1 ),
Historical Sigma(0),
Name( "Gauge R&R" )(5.15),
Name( "Gauge R&R Report" )(1),
Automatic Recalc( 1 ),
)
);
);
temp = report (variability chart[1])["GaugeR&R"][table box(1)] << make combined data table;
temp = report (variability chart[1])["GaugeR&R"][table box(1)] << make combined data table;
temp << set name("GR&R summary");
data table ("GR&R summary") << select where (:Measurement Source != "Gauge R&R");
data table ("GR&R summary") << delete rows;
Re:GRRレポート各変動性チャートの後に問題のテーブルを出力し、それをマスターテーブルに連結してから、次の変動性チャートに進みます。 何かのようなもの:
dtOut = New Data Table( "Guage R&R Summary" );
New Window( "GRR",
For( i = 1, i <= N Items( ColList ), i++,
variability chart(
Y( (ColList[i]) ),
X( :Operators, :Parts ),
Model( "Crossed" ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Show group means( 1 ),
Points Jittered( 1 ),
AIAG Labels( 0 ),
Show Box Plots( 1 ),
Mean Diamonds( 1 ),
Mean Plots( 1 ),
Historical Sigma( 0 ),
Name( "Gauge R&R" )(5.15),
Name( "Gauge R&R Report" )(1),
Automatic Recalc( 1 ),
);
temp = Report( variability chart[1] )["GaugeR&R"][Table Box( 1 )] << make combined data table;
dtOut << concatenate( temp, append to first table( 1 ) );
Close( temp, nosave );
)
);
data table ("GR&R summary") << select where (:Measurement Source != "Gauge R&R");
data table ("GR&R summary") << delete rows;Re:GRRレポート私はあなたのスクリプトを試しました。forループが機能しません。最初のパラメータのみを報告します。
Re:GRRレポートコードを作り直し、利用可能なデータテーブルに対してテストしましたが、動作するようです。 それがあなたのために働くかどうか見てください
Names Default To Here( 1 );
dt = Current Data Table();
dtOut = New Table( "Guage R&R Summary" );
colList = dt << get column names( continuous, string );
New Window( "GRR",
For( i = 1, i <= N Items( ColList ), i++,
theChart = dt << variability chart(
Y( (ColList[i]) ),
X( :Operators, :Parts ),
Model( "Crossed" ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Show group means( 1 ),
Points Jittered( 1 ),
AIAG Labels( 0 ),
Show Box Plots( 1 ),
Mean Diamonds( 1 ),
Mean Plots( 1 ),
Historical Sigma( 0 ),
Name( "Gauge R&R" )(5.15, 0, 0, 0),
Name( "Gauge R&R Report" )(1),
Automatic Recalc( 1 ),
);
temp = Report( theChart )["GaugeR&R"][Table Box( 1 )] << make combined data table;
dtOut << concatenate( temp, append to first table( 1 ) );
Close( temp, nosave );
)
);
Re:GRRレポートこんにちは、
GRRプロットは正しいですが、GR&Rサマリーにはデータがありません。とにかく、今日の午後は別の方法を試します。プロットを2つのタブに分割します。1つのサイドスペックの最初のタブと2つのサイドスペックの別のタブ。今では動作しているようです。
次の問題は、プロットを.pptに保存することです。ページごとに1つの変数グラフが必要です。
プレゼンテーションを.pptに保存しようとすると、ページごとに1つの小さなグラフ(可変チャート内)が表示されます。それらを組み合わせる方法はありますか?
data table("split_spec") << select where (:spec type == "one side") ;
rows = data table("split_spec")<< get selected rows;
ColList1 = :Label[rows];
data table("split_spec") << select where (:spec type == "two side") ;
rows = data table("split_spec")<< get selected rows;
ColList2 = :Label[rows];
dtOut = New Table( "GRR_Summary");
current data table(dt_raw);
nw = new window ("GRR",tb = tab box(),vlb = vlist box());
tb << add ("OneSideSpec", vlb = v list box());
for (i = 1, i <= N items (ColList1), i++,
vlb << append(
v1 = variability chart (
Y ((ColList1 [i])),
X (:Operators, :Parts),
Model ("Crossed"),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Show group means (1),
Points Jittered( 1 ),
AIAG Labels( 0 ),
Show Box Plots( 1 ),
Mean Diamonds( 1 ),
Mean Plots( 1 ),
Historical Sigma(0),
Name( "Gauge R&R" )(5.15),
Name( "Gauge R&R Report" )(1),
Automatic Recalc( 1 ),
);
);
);
temp = report (v1)["GaugeR&R"][table box(1)] << make combined data table;
dtOut << concatenate( temp, append to first table( 1 ) );
close(temp, nosave);
tb << Add( "TwoSideSpec", vlb2 = V List Box() ) ;
current data table(dt_raw);
For( i = 1, i <= N Items( ColList2 ), i++,
vlb2 << append(
v2 = variability chart(
Y( (ColList2[i]) ),
X( :Operators, :Parts ),
Model( "Crossed" ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Show group means( 1 ),
Points Jittered( 1 ),
AIAG Labels( 0 ),
Show Box Plots( 1 ),
Mean Diamonds( 1 ),
Mean Plots( 1 ),
Historical Sigma( 0 ),
Name( "Gauge R&R" )(5.15),
Name( "Gauge R&R Report" )(1),
Automatic Recalc( 1 ),
);
);
);
temp = report(v2)["GaugeR&R"][table box(1)] << make combined data table;
dtOut << concatenate( temp, append to first table( 1 ) );
close(temp, nosave);
data table ("GRR_Summary") << select where (:Measurement Source != "Gauge R&R");
data table ("GRR_Summary") << delete rows;Re:GRRレポートこれを行うために使用する方法は、pptスライドに配置するグラフを使用して表示オブジェクトを作成し、表示オブジェクトから画像オブジェクトを作成して、それをジャーナルに配置することです。 ジャーナルエントリからのプレゼンテーションの保存。
Re:GRRレポート表示オブジェクトの作成例を見せてください。Re:GRRレポート表示オブジェクトとは、New Window()に配置して表示できるオブジェクトのことです。 これらのオブジェクトは新しいウィンドウに表示されていなくても使用でき、出力をそれらのオブジェクトに配置できます。オブジェクトは新しいウィンドウに追加されるまで表示されません。 以下は、<< get画像を使用して、希望どおりのpptxスライドを作成する非常に簡単な例です。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
vlb = V List Box(
Graph Builder(
Size( 1000, 1000 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) )
),
Graph Builder(
Size( 1000, 1000 ),
Show Control Panel( 0 ),
Variables( X( :age ), Y( :height ) ),
Elements( Box Plot( X, Y, Legend( 9 ) ) )
)
);
nw = New Window( "pptslide", <<JOURNAL></JOURNAL>