lme.1.combo <- lme(ComboRate ~ p_w, random = ~1 | Rat,data=x)
The line above will return a fitted intercept term, and a fitted beta (slope) term given these variables (allowing for random intercepts for each rat).
What I would like to do, is run the same regression, but with a FIXED slope. That is, if I keep the slope at a given value, what is the best fitting intercept going to be? So my output would be the best intercept value, given the slope value I assigned.
Is there a way to do this using
lme or any other function in R?