하나의 옵션
tb = Report(vc)["Means and Std Deviations", Table Box(1)];
headers = tb << get names;
tb[Contains(headers, "Lower 95%")] << Visibility("Collapse");
tb[Contains(headers, "Upper 95%")] << Visibility("Collapse");
더보기...
안녕하세요 여러분,
평균과 표준을 사용하여 이변량 플롯을 만드는 이 기능이 있습니다. 하지만 테이블에서 하위 95%와 상위 95%를 제거해야 합니다. 수동으로 만들어 보려고 했는데 어떻게 기능과 접목시켜야 할지 모르겠습니다. 도와주세요
이 기능은 다음과 같습니다.
New Window( "Tmp Window",
vc = Oneway(
Y( :Param ),
X( :Param1 ),
Means and Std Dev( 1 ),
Mean Diamonds( 1 ),
X Axis Proportional( 0 ),
Box Plots( 1 ),
Grand Mean( 0 ),
CDF Plot( 0 ),
Connect Means( 0 ),
Points Jittered( 0 )
);
rvc = vc << Report;
ymax = rvc[Axis Box( 1 )] << Get Max;
ymin = rvc[Axis Box( 1 )] << Get Min;
rvc[FrameBox( 1 )] << {Marker Size( 2 )};
Try( rvc[Axis Box( 1 )] << Max( paxis["Max"] ) << Min( paxis["Min"] ) << Inc( paxis["Inc"] ) << Minor Ticks( paxis["Ntick"] ) );
rvc[Axis Box( 1 )] << Format( "Best", 12 ) << Tick Font( style( 1 ), size( 9 ) ) << Show Major Grid( 1 ) << Show Minor Grid( 1 ) <<
Show Minor Ticks( 1 );
rvc[Text Edit Box( 1 )] << Set Font Size( 10 ) << Set Font Style( "Bold" );
vb = V List Box( rvc[Picture Box( 1 )], rvc[Outline Box( 2 )] << Get Picture );
);
다음은 스크립트 창의 코드입니다.
Oneway(
Y( :Param ),
X( :Param1 ),
Means and Std Dev( 1 ),
Mean Error Bars( 1 ),
Std Dev Lines( 1 ),
SendToReport(
<STRONG>Dispatch(
{"Means and Std Deviations"},
"Lower 95%",
NumberColBox,
{Visibility( "Collapse" )}
),
Dispatch(
{"Means and Std Deviations"},
"Upper 95%",
NumberColBox,
{Visibility( "Collapse" )}</STRONG>
)
)
);