xattr add var purchase (role="target" level="nominal")
age (role="reject")
income (role="input" level="interval");
contents data=sales;
title 'The Contents of the Sales Data Set That Contains Extended Attributes';
run;
quit;
Program Description
Create MyLib.Sales data set.
libname mylib 'C:\mylib';
data mylib.sales;
purchase="car";
age=10;
income=200000;
kids=3;
cars=4;
run;
Adding extended attributes to the data ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.