Re: [Rd] boxplot: auto sizing for ylim variable

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Fri, 04 Dec 2009 18:31:21 +0100

violet lock wrote:
> Sorry, I though I had reposted the question- I was trying to create a
> barplot- I just solved it by looping and setting the program to graph as
> subset of the data. The size is a parameter so the user can reset it if
> needed
>
> bargraph <- function(table) {
> barplot(table, main="Title", xlim=c(0,120), horiz=TRUE, las=2)
> }
> ...calc of j and end...
> smaller_table=bigtable[j:end]
> bargraph(smaller_table)

Still not reproducible, hence not helpful - we cannot see anything...

Uwe Ligges

>
>
>
>
> On Wed, Dec 2, 2009 at 3:02 PM, Greg Snow <Greg.Snow_at_imail.org> wrote:
>

>> I don't understand your question.  Are you trying to create a boxplot or
>> barplot (you mention both), what scaling is not happening automatically that
>> you would like?
>>
>> Can you give a simple example of what you have tried, what results you are
>> seeing and what results you would like to see instead?
>>
>> --
>> Gregory (Greg) L. Snow Ph.D.
>> Statistical Data Center
>> Intermountain Healthcare
>> greg.snow_at_imail.org
>> 801.408.8111
>>
>>
>>> -----Original Message-----
>>> From: r-devel-bounces_at_r-project.org [mailto:r-devel-bounces_at_r-
>>> project.org] On Behalf Of violet lock
>>> Sent: Tuesday, December 01, 2009 12:34 PM
>>> To: r-devel_at_r-project.org
>>> Subject: [Rd] boxplot: auto sizing for ylim variable
>>>
>>> Dear R-Devel,
>>> I am trying to create a boxplot for a large dataset (about 1500
>>> entries)
>>>  and was wondering if there was away to do auto sizing for the y-axis
>>> of a
>>> horizontal bar plot?  I know I could use a control structure to loop
>>> through
>>> the data instead, but as I know SAS has something does this
>>> automatically I
>>> thought R might as well.
>>>
>>> Thanks,
>>> VL
>>>
>>>       [[alternative HTML version deleted]]
>>  >
>>> ______________________________________________
>>> R-devel_at_r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel

>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 04 Dec 2009 - 17:38:16 GMT

This archive was generated by hypermail 2.2.0 : Sat 05 Dec 2009 - 03:10:59 GMT