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

From: violet lock <violetlock_at_gmail.com>
Date: Thu, 03 Dec 2009 13:40:09 -0500

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)

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_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 03 Dec 2009 - 18:47:07 GMT

This archive was generated by hypermail 2.2.0 : Fri 04 Dec 2009 - 19:21:00 GMT