I have been successful in making the Histogram for the variable wind speed for all years and months in my data set. But I want the the x-axis labeled at 1 mile/hr intervals.Each bin is also of 1 mile/hr interval. Currently by default the x axis is labeled at 20 miles/hour intervals.
Here is my R code.
histogram(~ as.numeric(spd) | factor(month) + factor(year), data = spd_sub,
xlab = "spd in miles/hour",
nint= max(as.numeric(spd))-min(as.numeric(spd)), layout = c(1, 1))
Any idea how to do this?