14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

314 <strong>Scripting</strong> Platforms Chapter 10<br />

Launching Platforms Interactively and Obtaining the Equivalent Script<br />

Figure 10.1 Accessing By Group Reports<br />

Multiple columns listed for By() produce nodes for each subgroup. For example, By(sex, age) would<br />

produce nodes for females age 12, females age 13, ..., females age 17, males age 12, males age 13, ..., and<br />

males age 17.<br />

The following shows how to launch a platform with BY groups and extract results from each group:<br />

// open data table Big Class<br />

dt=Open("$SAMPLE_DATA/Big Class.jmp");<br />

// launch Oneway platform<br />

onew = Oneway(x(age),y(height),by(sex),anova);<br />

// onew is a list of platform object references<br />

r = onew

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!