s-news
[Top] [All Lists]

printing a series of stem plots

To: s-news@lists.biostat.wustl.edu
Subject: printing a series of stem plots
From: David Parkhurst <parkhurs@imap.iu.edu>
Date: Sat, 10 Sep 2005 17:42:02 -0500
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
I want to generate a series of different datasets to send to students in a stats class, so each group works with different data. One of their assignments is to produce a stemplot (by hand), and I would like, as I generate the data, to print out a stemplot of each dataset for my teaching assistant to use in grading.

So, is there a way within a loop to create a dataset (x<-rlnorm(30,log(10),0.7)), then to stemplot that, and then to have that stemplot printed, or saved to a file?

Thanks for help.

Dave Parkhurst

<Prev in Thread] Current Thread [Next in Thread>