I think you did something like (using an example from here )
income.happiness.lm <- lm(happiness ~ income, data = income.data)
in that case your variable is a column of a data.frame and to plot it you could use
hist( income.data$happiness)
So in your case the name of the data.frame that you use followed by "$county_coded"