[R] hist function+label second y-axis

Jim Lemon jim at bitwrit.com.au
Fri Mar 21 12:05:32 CET 2008


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



More information about the R-help mailing list