[R] How to use predict() so that one retains the rows that they're associated with?

mviljamaa mviljamaa at kapsi.fi
Thu Oct 20 13:40:26 CEST 2016

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?

More information about the R-help mailing list