Displaying 1 result from an estimated 1 matches for "coeft".
Did you mean:
coef
2004 Mar 03
3
Adding text (coefts) to pairs panels
...l.
I've googled the archives and wasn't able to find anyhting that dealt with
this problem, so would appreciate any suggestions/tips.
In a pairs plot I'd like to plot a linear regression line in each panel and,
also in each panel, I'd like to have some text in the panel showing the
coefts, etc.
I'm able to get the regressions line plotted, but not the text/coefficients.
Using one of the R examples, example(pairs), I have got this far:
panel.myfitline<-function(x, y, digits=2, prefix="", cex.cor, ...)
{
res<-panel.smooth(x,y, col.smooth="blue", ......