From John.Maindonald at anu.edu.au  Wed Mar 21 00:06:05 2007
From: John.Maindonald at anu.edu.au (John Maindonald)
Date: Wed, 21 Mar 2007 10:06:05 +1100
Subject: [Rd] [R-downunder] las with stripchart
In-Reply-To: <46003B06.4070507@stat.auckland.ac.nz>
References: <AD5F4D19-91FD-4311-8C57-418657666AFD@anu.edu.au>
	<45FF552C.10708@stat.auckland.ac.nz>
	<46003B06.4070507@stat.auckland.ac.nz>
Message-ID: <2785F331-6969-4424-94BF-09E18AC4FE58@anu.edu.au>

Hi Ross -
I believe I was wrong in thinking that passing via the ...
list to stripchart() was ever allowed.  Here are patches:

Add ... to the argument list
Add, at the beginning of the function:

pars <- list(...)

There are two calls to axis().  Modify these to:

       axis(1, at = at, labels = names(groups), las=pars$las)
       axis(2, at = at, labels = names(groups), las=pars$las)

Also col=pars$col and bg=pars$bg should probably get
passed in the call to points()

Are there also parameters that should be passed in the
call to title(), as Paul mooted in that July 2001 discussion?

For the earlier 2001 discussion, see

http://tolstoy.newcastle.edu.au/R/devel/01b/0089.html

John Maindonald             email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.


On 21 Mar 2007, at 6:50 AM, Ross Ihaka wrote:

> Paul Murrell wrote:
>> Hi
>> John Maindonald wrote:
>>> Hi Paul -
>>> Do you know why las can no longer be passed as a parameter
>>> to stripchart(), though of course it can be set using par.  I note
>>> that is is still available for dotchart().
>> When was 'las' allowed in stripchart()?  (it is missing back as  
>> far as
>> 2.2.1 at least)
>> stripchart() does not allow many par() settings inline at all.  My
>> suspicion is that this is oversight rather than design, but I  
>> don't know
>> who the original author was.
>
> 'twas I. This is almost certainly an oversight.  Patch anyone?
>
>
> -- 
> Ross Ihaka                         Email:  ihaka at stat.auckland.ac.nz
> Department of Statistics           Phone:  (64-9) 373-7599 x 85054
> University of Auckland             Fax:    (64-9) 373-7018
> Private Bag 92019, Auckland
> New Zealand



[Rd] [R-downunder] las with stripchart
John Maindonald