Aargh of course - so obvious I'd completely overlooked that.>. Thanks Nick > On 09 October 2019 at 16:21 Ivan Krylov <krylov.r...@gmail.com> wrote: > > > On Wed, 9 Oct 2019 16:12:57 +0100 (BST) > Nick Wray via R-help <r-help@r-project.org> wrote: > > > I have a vector like say 73,53,42,67,41,50 where these numbers are > > the number of occurrences of the data values 1,2,3,4,5,6 > > > I can't see an elegant way <...> of creating a histogram from this > > data set. Is there one? > > A histogram is a bar plot of frequencies of data values falling into > specific bins, so you can reconstruct one yourself using the barplot() > function. > > -- > Best regards, > Ivan
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.