[R] hist-data without plot

Petr Pikal petr.pikal at precheza.cz
Mon Mar 20 14:56:07 CET 2006


>From help page

If plot=TRUE, the resulting object of class "histogram" is plotted by 
plot.histogram, before it is returned. 

HTH
Petr


On 20 Mar 2006 at 14:23, Gottfried Gruber wrote:

From:           	Gottfried Gruber <ggruber at terminal.at>
To:             	r-help <r-help at stat.math.ethz.ch>
Date sent:      	Mon, 20 Mar 2006 14:23:26 +0100
Subject:        	[R] hist-data without plot

> hello,
> 
> i need the data from hist() but i do not want the plot.
> e.g.
> z=hist(data)$counts  #returns absolute  frequency
> 
> but when i execute this command the plot occurs also. is it possible
> to suppress the plot?
> 
> many thanks,
> best regards gg
> -- 
> ---------------------------------------------------
> Gottfried Gruber
> mailto:gottfried.gruber at terminal.at
> www: http://gogo.sehrsupa.net
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

Petr Pikal
petr.pikal at precheza.cz




More information about the R-help mailing list