Skip to content

erroneous warning in hist (PR#9408)

1 message · alex.deckmyn$oma.be at pubhealth.ku.dk

#
Full_Name: Alex Deckmyn
Version: 2.4.0
OS: linux
Submission from: (NULL) (193.190.63.62)


specifying the "right" option in hist results in a warning when plot=F. The
option is taken into account correctly, but a warning is issued anyway. When
plot=T there is no warning.
[1] 1 1 0 0
[1] 1 1 0 0
[1] 1 1 0 0
[1] 1 1 0 0
Warning message:
argument 'right' is not made use of in: hist.default(c(1, 1.5), breaks = 0:4,
right = T, plot = F)
[1] 0 2 0 0
Warning message:
argument 'right' is not made use of in: hist.default(c(1, 1.5), breaks = 0:4,
right = F, plot = F)