title: How can I add a column sorting my data by above or below the median?
body: <p>I am trying to add a column to my data (called boston) that states if each entry is above or below the median crime rate (variable called crim) I have found the median by median(boston$crim) but now I need to add a column that states if the crime rate is above or below that number.</p>