Re: [R] Plotting a Regression holding some exogeneous constant.

2014-05-07 Thread Greg Snow
The Predict.Plot function in the TeachingDemos package can do this for you. Or you can just calculate the intercept for the call to abline by plugging in the mean for all the other variables and do the arithmetic then pass the intercept and slope by hand to the abline function. Or you can create

[R] Plotting a Regression holding some exogeneous constant.

2014-05-05 Thread Katharina Mersmann
Dear R-community, I am totally lost and need help. For a Visualization I need to plot two regressions in the same plot. The intention is to provide a visual basis for a synthesized theoretical discussion. 1.)fixed.1<-plm(CSmean~ FCRlong, data = data.plm, index = c("countrynr","quartal")