Giulio Di Giovanni
2011-Sep-27 09:58 UTC
[R] sm.regression , one-covariate graph and regression line width
Hi all, I'm using sm library. In the two-dimensional plot of the analysis with one covariate, I'm able to modify several graphic parameters, either specifying them directly in the sm.regression() function, either through sm.options().The only graphical parameter i cannot modify is the width of the smoothed regression line. I can change its color, style, but not the width (which I must increase). The only result I was able to obtain is after specifying "lwd" in par(), which increases the width of not only the regression line , but of everything (axes, points, ect ect), which is definitely too much. par(lwd=3)sm.regression(a, b, col="red", lty=2) does anybody have a suggestion? Do I have to tweak the function code? Thanks in advance, D [[alternative HTML version deleted]]