New graph on new page

90 views
Skip to first unread message

n

unread,
Mar 14, 2011, 8:18:43 AM3/14/11
to R for Beginners
Hello,

I have a dataset similar to the following:

test result

lab xxx
. ...

. ...


blood xxx

the variable test takes in all 20 values out of which 'lab' and
'blood' are given as examples. xxx are numerical values.

I wish to draw boxplots of the result column by each test. This can be
done with boxplot (result~test). However, this command gives all the
20 plots in a single graph window.
How do I get a separate plot for each test on a new page?

Thanks

Nikhil
Reply all
Reply to author
Forward
0 new messages