[R] displaying sample size in boxplots
Gabor Grothendieck
ggrothendieck at myway.com
Wed Oct 13 08:16:07 CEST 2004
Warnes, Gregory R <gregory.r.warnes <at> pfizer.com> writes:
:
: > -----Original Message-----
: > From: r-help-bounces <at> stat.math.ethz.ch
: > [mailto:r-help-bounces <at> stat.math.ethz.ch]On Behalf Of Patrick
: > Drechsler
: >
: > Gregory R. Warnes wrote on 01 Oct 2004 14:52:05 MET:
: >
: > [...]
: >
: > > Also note that boxplot.n in the gplots library (part of the
: > > gregmisc bundle) automatically adds the number of observations.
: >
: > Thanks Greg! Nice to see that you've written some code just for
: > this purpose. I will of course also take a closer look at the
: > other functions that are bundled in `gregmisc'.
: >
:
: :^)
:
: > Since I'm still new to R: can somebody give me a pointer to the
: > docs where to find instructions on a package (not a function)? I
: > can find the man pages to specific functions with ?<functionname>
: > (something similar to `texdoc <packagename>' in tetex)?
:
: library(help=<packagename>)
:
: you can also get the PDF package documentation available on cran, e.g.
: http://cran.r-project.org/doc/packages/gregmisc.pdf
:
: -Greg
Also some packages, though not many, have vignettes which are documents
that describe the package as a whole as opposed to single functions.
Just issue the command:
vignette()
to get a list. Assuming you have the package strucchange
installed, the above command will have let you know that
strucchange has a vignette called strucchange-intro which
you can view like this:
vignette("strucchange-intro")
Check out the R News article on vignettes in R News 3/2 for
more info.
In addition, its always a good idea to check if there is an
R News article on the package. In the case of strucchange,
a google search for
rnews strucchange
would have found a reference telling you what issue its in.
R News is found via the Newsletter link on the www.r-project.org
home page.
More information about the R-help
mailing list