> -----Original Message-----
> From: r-help-boun...@r-project.org 
> [mailto:r-help-boun...@r-project.org] On Behalf Of aprendiz programa
> Sent: 10 August 2012 01:37
> To: r-help@r-project.org
> Subject: [R] help error histograma
> 
> 
> Hi,
> My error isErro em hist.default(dados[[1]], freq = TRUE, 
> seq(0, 30, 0.5), prob = FALSE,  :   some 'x' not counted; 
> maybe 'breaks' do not span range of 'x'

Things that may help:
- Check the range of your data using range( dados[[1]] ) and set the range for 
breaks _outside_ that, allowing particularly for digital precision. 
- plot the histogram without specifying breaks (or use a single number to 
control approximate number of bins) and use the limits of that plot as manual 
breaks.
- Check that the data is numeric and not a factor.
- Make sure you don;t have any Inf, NA or NaN in the data
- Make sure you are plotting the data you think is within [0,30] (!)

*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}

______________________________________________
R-help@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.

Reply via email to