有沒有辦法使用 JSL 基於多列在單列上嵌套 Recode?
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << New Column( "Stature",
Character( 40 ),
"Nominal",
Formula(
Recode(
:age & :height,
{Map Value(
_rcOrig, {
"12" & "59, "short tween",
"12" & "66", "Tall tween",
"17" & "70", "Tall teenager"
},
Unmatched( empty() )
)}
)
),
Set Display Width( 56 )
);