Hi everyone.
I'm currently translating some Matlab code into R. However, I realized that the 
hsit function produce different results in both languages.
in Matlab, hist(1:10, 10) will produce 10 bins with a count of 1 in each, but 
in R it will produce 9 classes with count of 2,1,1,1,1,1,1,1,1.
I'm a bit embarrassed to ask such question, but why R is not producing 10 
classes as requested?
Thanks in advance,Phil                                    
        [[alternative HTML version deleted]]

______________________________________________
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