I need to use the s or l apply function to calculate the median price for each county in the housing data frame. County and price are both columns, I don't know how to group based on the county name.
This has probably been asked somewhere, but I've been searching for hours and can't find anything. Sorry, TIA