# CASE 1
# The following plots a single cell or block for all three location 0,1,2.
y - rep(2,8)
hist(y)# why is this a single block?
hist(y,xlim=c(0,2))# same thing
hist(y,breaks=2) # same
# CASE 2
# adding a different value, plots as expected
y - append(y,0)
hist(y)
In case #1, the argument 'breaks' can break the histogram cells:
hist(y, breaks=c(0, 0.5, 1.0, 1.5, 2.0)) # not the same ^_^
2005/6/18, ap [EMAIL PROTECTED]:
# CASE 1
# The following plots a single cell or block for all three location 0,1,2.
y - rep(2,8)
hist(y) # why is this a single