[R] turn off graphic plot in histogram()

Greg Snow Greg.Snow at imail.org
Mon Jun 1 20:00:04 CEST 2009


You could use hist rather than histogram and then specify plot=FALSE.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Steven Matthew Anderson
> Sent: Monday, June 01, 2009 11:36 AM
> To: r-help at r-project.org
> Subject: [R] turn off graphic plot in histogram()
> 
> Is there a way to just produce the data object in histogram() and not
> run the plot portion?  All I want it the $mids and $counts.
> 
> Thank you
> 
> 
> Steven Matthew Anderson
> 
> Anderson Research, LLC
> Statistical Programming and Analysis
> SAS (R) Certified Professional
> AdAstra69 at mac.com
> 
> Ad Astra per Aspera
> 
> שָׁלוֹם
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.


More information about the R-help mailing list