I'm using predict() for my glm() logistic model, but I'm having trouble relating the predicted results to the rows that produced them. I want to be able to plot predictions along some categorical variables. So what can I do in order to get predicted values but also know what variable values produced them?