Re: [R] hist function+label second y-axis

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Fri, 21 Mar 2008 22:05:32 +1100

canadiangirl19 wrote:
> with the plot function I get the timeseries, I want a histogram but as a line
> and no bars.
> plot(x$LAN_3,type="h")
>
I should have been clearer:

plot(hist(x$LAN_3,plot=FALSE)$counts,type="h",...)

Jim



R-help_at_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. Received on Fri 21 Mar 2008 - 10:59:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 21 Mar 2008 - 11:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive