home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!oconnor
- Newsgroups: sci.math.stat
- Subject: Re: Help on Boxplotts in S needed!!!!!!!
- Message-ID: <BvrnCG.BH2@comp.vuw.ac.nz>
- From: oconnor@tahi.isor.vuw.ac.nz (Paul Oconnor)
- Date: Wed, 7 Oct 1992 19:26:40 GMT
- Sender: news@comp.vuw.ac.nz (News Admin)
- References: <1992Oct6.225803.59485@cc.usu.edu>
- Organization: Institute of Statistics and Operations Research, VUW, Wellington, NZ
- Nntp-Posting-Host: tahi.isor.vuw.ac.nz
- Lines: 32
-
-
- In article <1992Oct6.225803.59485@cc.usu.edu>, sljbr@cc.usu.edu writes:
- |> I have a problem with boxplots on the S.
- |> The problem is:
- |> I have 5 boxplots to be made. I want all the five to have a common x and y
- |> axes. How is this possible??
- |> Could anyone help me out??
- |> Thanx a lot in advance.
-
-
- lets say the data is in a five column matrix called data. Then call
-
- boxplot(split(t(data), i), ylim = c(min(data), max(data)),
- names = c("name1","2","3","4","5"),
- ylab = "y label", xlab = "x label")
-
- If the matrix has the column names then you can let the names
- option equal; names = dimnames(data)[2]. This will pop the names in for you.
-
- What do you mean by a common x axis?
-
- Cheers
-
- Paul O'Connor Phone: +64 4 472-1000
- Institute of Statistics and FAX: +64 4 495-5118
- Operations Research, Email: oconnor@isor.vuw.ac.nz
- Victoria University of Wellington Snail: PO Box 600,Wellington,New Zealand
- --
- Paul O'Connor Phone: +64 4 472-1000
- Institute of Statistics and FAX: +64 4 495-5118
- Operations Research, Email: oconnor@isor.vuw.ac.nz
- Victoria University of Wellington Snail: PO Box 600,Wellington,New Zealand
-