Hi, is there an graphics overview, where the graphic capabitlities of R are shown with the corresponding code? I already tested 'demo(graphics)', that isn't that comprehensive, 'demo(image)', 'demo(lattice)', searched the Mailarchive, googled and the FAQ keeps silent, too. For example, I know how a special graphic I need should look like, but I don't know how to realise it. I even don't know how to describe it =). Another example, much more simpler (I hope): I want to get the sum of the values in a plot above the columns. Like this: | 3 | 2 _ | _ | | | | | | | |_|_|__|_|__ A B RTMFs are welcome =/. But I read 'help(plot)' (plot is what I actually use for the graphic above?) and 'help(par)', searched my introduction to S and S-Plus and I'm still waiting for "Introductory Statistics with R" (P. Dalgaard), that is not deliverable at the moment. TIA Regards, Christoph _______________________ ? Data is a data.frame with A and B being the sums of the characteristic values (not numeric) of one variable. -- Christoph Bier, Dipl.Oecotroph., Email: bier at wiz.uni-kassel.de Universitaet Kassel, FG Oekologische Lebensmittelqualitaet und Ernaehrungskultur \\ Postfach 12 52 \\ 37202 Witzenhausen Tel.: +49 (0) 55 42 / 98 -17 21, Fax: -17 13
On Tue, 21 Oct 2003, Christoph Bier wrote:> Hi, > > is there an graphics overview, where the graphic capabitlities > of R are shown with the corresponding code? I already tested > 'demo(graphics)', that isn't that comprehensive, > 'demo(image)', 'demo(lattice)', searched the Mailarchive, > googled and the FAQ keeps silent, too. > For example, I know how a special graphic I need should > look like, but I don't know how to realise it. I even don't > know how to describe it =).Chapter 4 of MASS (the book) is a pretty comprehensive set of examples, but given that there are lots of plots associated with e.g. multivariate analysis (try chapter 11 of MASS) and time series (try chapter 14 of MASS) the scope is enormous.> Another example, much more simpler (I hope): I want to get > the sum of the values in a plot above the columns. Like this: > > | 3 > | 2 _ > | _ | | > | | | | | > |_|_|__|_|__ > A B > > RTMFs are welcome =/. But I read 'help(plot)' (plot is > what I actually use for the graphic above?) and 'help(par)',It looks like a barplot to me.> searched my introduction to S and S-Plus and I'm still waiting > for "Introductory Statistics with R" (P. Dalgaard), that is > not deliverable at the moment.There is an example of that in the MASS package script ch04.R The means to do it are described in `An Introduction to R' (and elsewhere). -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
On 10/21/03 12:22, Christoph Bier wrote:>Hi, > >is there an graphics overview, where the graphic capabitlities >of R are shown with the corresponding code?A very elementary overview like this is in our "Notes on R for psychology experiments and questionnaires," in CRAN "contributed documents" and in my R page below. We expanded it a bit from the even-more elementary version that was there before August. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R page: http://finzi.psych.upenn.edu/