Re: [R] Histogram of a dataframe subset failing

2011-07-24 Thread DimmestLemming
Thanks! It was late, so this didn't occur to me, but I tried summary() and all values were NA. The subset had resulted in a dataframe with 0 rows somehow, but now that's fixed. -- View this message in context: http://r.789695.n4.nabble.com/Histogram-of-a-dataframe-subset-failing-tp3689884p3690504

Re: [R] Histogram of a dataframe subset failing

2011-07-24 Thread Dieter Menne
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.