[R] Histogram of a dataframe subset failing

Dieter Menne dieter.menne at menne-biomed.de
Sun Jul 24 10:24:11 CEST 2011


DimmestLemming wrote:
> 
> hist(soloData$deaths)
> 
> I get the error, " invalid number of 'breaks' ".
> 

Try

str(soloData$deaths)

or 

head(soloData$deaths)

or 

summary(soloData$Death)

There may be something wrong with you data.

Dieter

--
View this message in context: http://r.789695.n4.nabble.com/Histogram-of-a-dataframe-subset-failing-tp3689884p3689993.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list