[R] how exactly does 'identify' work?

casperyc casperyc at hotmail.co.uk
Thu Nov 18 20:08:30 CET 2010


yes, i tried to modify the "2L" part in plot.lm

###################################
if (show[2L]) {
        ylim <- range(rs, na.rm = TRUE)
        ylim[2L] <- ylim[2L] + diff(ylim) * 0.075
        qq <- qqnorm(rs, main = main, ylab = ylab23, ylim = ylim, 
            ...)
        if (qqline) 
            qqline(rs, lty = 3, col = "gray50")
        if (one.fig) 
            title(sub = sub.caption, ...)
        mtext(getCaption(2), 3, 0.25, cex = cex.caption)
        if (id.n > 0) 
            text.id(qq$x[show.rs], qq$y[show.rs], rs)
###################################

but didnt go very far,

I could just use text to add the label,
I just dont understand why identify does not 'identify' the residuals in
a linear model in the qqnorm plot ...

Thanks.
-- 
View this message in context: http://r.789695.n4.nabble.com/how-exactly-does-identify-work-tp3045953p3049385.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list