Skip to content

help hist some 'x' not counted; maybe 'breaks' do not span range of 'x'

6 messages · aprendiz programa, David L Carlson, Rui Barradas

#
Use summary(dados[[1]]). The error message is telling you that the data
include values outside the 0 to 20 range you have specified.


----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352
#
Hello,

You went from 20 to 1300? What about from 20 to max(dados[[1]])?

breaks <- seq(0, max(dados[[1]]), by = 0.5)
hist(dados[[1]], breaks = breaks, ...etc...)

Hope this helps,

Rui Barradas

Em 10-08-2012 00:54, aprendiz programa escreveu:
#
Hello,

Post the following:

str( dados[[1]] )
summary( dados[[1]] )

Rui Barradas

Em 10-08-2012 14:04, aprendiz programa escreveu: