Points plot in Graph builder provides an option to calculate summary statistics.
By default, points with same x value are aggregated into one value.
Is there an option to select another column to specify groups of point which get aggregated?
e.g. to display the median height/weight for different ages - with one click.
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
Size( 437, 413 ),
Summary Statistic( "Median" ),
Graph Spacing( 4 ),
Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
Elements(
Points( X, Y, Legend( 1 ), Summary Statistic( "Median" /* ,by(:age)*/ ) ),
Smoother( X, Y, Legend( 2 ) )
)
)