Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
Transform Column(
"Custom Binning...[weight]",
Numeric,
Nominal,
Value Labels( {"." = "Missing", 79 = "< 80", 80 = "≥ 80"} ),
Use Value Labels( 1 ),
Formula( If( :weight < 80, 79, :weight >= 80, 80, . ) )
),
Transform Column(
"age'",
Ordinal,
Set Property( "Configure Levels", 1 ),
Set Property( "Value Order", {Custom Order( {12, 15} )} ),
Value Labels( {12 = "12-14", 15 = "15-17"} ),
Use Value Labels( 1 ),
Formula(
Map Value( :age, {13, 12, 14, 12, 16, 15, 17, 15}, Unmatched( :age ) )
)
),
Size( 469, 709 ),
Show Control Panel( 0 ),
Summary Statistic( "Median" ),
Graph Spacing( 4 ),
Variables(
X( :sex ),
Y( :age' ),
Y( :age' ),
Overlay( :"Custom Binning...[weight]"n ),
Color( :height )
),
Elements(
Position( 1, 1 ),
Points( X, Y, Legend( 16 ), Jitter( "Centered Grid" ) )
),
Elements(
Position( 1, 2 ),
Points( X, Y, Overlay( 0 ), Legend( 17 ), Jitter( "Centered Grid" ) )
),
SendToReport(
Dispatch( {}, "age'", ScaleBox,
{Min( -0.5 ), Max( 1.65217391304348 ), Inc( 1 ), Minor Ticks( 0 )}
),
Dispatch( {}, "400", ScaleBox,
{Legend Model(
16,
Properties( 1, {Marker Size( 20 )}, Item ID( "< 80", 1 ) ),
Properties(
2,
{Marker( "FilledCircle" ), Marker Size( 20 )},
Item ID( "≥ 80", 1 )
),
Properties( -1, {Marker( "FilledCircle" )}, Item ID( "M", 1 ) ),
Properties( -1, {Marker Size( 20 )}, Item ID( "age'", 1 ) )
), Legend Model(
17,
Properties( 1, {Marker Size( 20 )}, Item ID( "age'", 1 ) )
)}
),
Dispatch( {}, "Graph Builder", FrameBox,
{Marker Drawing Mode( "Outlined" )}
),
Dispatch( {}, "Graph Builder", FrameBox( 2 ),
{Marker Drawing Mode( "Outlined" )}
)
)
)
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
Transform Column(
"Custom Binning...[weight]",
Numeric,
Nominal,
Value Labels( {"." = "Missing", 79 = "< 80", 80 = "≥ 80"} ),
Use Value Labels( 1 ),
Formula( If( :weight < 80, 79, :weight >= 80, 80, . ) )
),
Transform Column(
"age'",
Ordinal,
Set Property( "Configure Levels", 1 ),
Set Property( "Value Order", {Custom Order( {12, 15} )} ),
Value Labels( {12 = "12-14", 15 = "15-17"} ),
Use Value Labels( 1 ),
Formula(
Map Value( :age, {13, 12, 14, 12, 16, 15, 17, 15}, Unmatched( :age ) )
)
),
Size( 469, 709 ),
Show Control Panel( 0 ),
Summary Statistic( "Median" ),
Graph Spacing( 4 ),
Variables(
X( :sex ),
Y( :age' ),
Y( :age' ),
Overlay( :"Custom Binning...[weight]"n ),
Color( :height )
),
Elements(
Position( 1, 1 ),
Points( X, Y, Legend( 16 ), Jitter( "Centered Grid" ) )
),
Elements(
Position( 1, 2 ),
Points( X, Y, Overlay( 0 ), Legend( 17 ), Jitter( "Centered Grid" ) )
),
SendToReport(
Dispatch( {}, "age'", ScaleBox,
{Min( -0.5 ), Max( 1.65217391304348 ), Inc( 1 ), Minor Ticks( 0 )}
),
Dispatch( {}, "400", ScaleBox,
{Legend Model(
16,
Properties( 1, {Marker Size( 20 )}, Item ID( "< 80", 1 ) ),
Properties(
2,
{Marker( "FilledCircle" ), Marker Size( 20 )},
Item ID( "≥ 80", 1 )
),
Properties( -1, {Marker( "FilledCircle" )}, Item ID( "M", 1 ) ),
Properties( -1, {Marker Size( 20 )}, Item ID( "age'", 1 ) )
), Legend Model(
17,
Properties( 1, {Marker Size( 20 )}, Item ID( "age'", 1 ) )
)}
),
Dispatch( {}, "Graph Builder", FrameBox,
{Marker Drawing Mode( "Outlined" )}
),
Dispatch( {}, "Graph Builder", FrameBox( 2 ),
{Marker Drawing Mode( "Outlined" )}
)
)
)