[R] linear regression, exclude a datum

e-letter inpost at gmail.com
Mon Sep 14 15:47:47 CEST 2009


Readers,

I have been reading the r book (Crawley) and tried to use the
influence measures function for linear regression, as described. I
have one datum that I wish to show in the graph but exclude from the
regression and ab line.

x	y
0	5
10	9
20	10
30	19
40	4

With the influence measures function I plot the graph but linear
regression includes the datum (40,4), which I want to show on the
graph but exclude from the linear regression ab line.

Is there an alternative package to perform this task please?

rhelp at conference.jabber.org
r 251
mandriva 2008




More information about the R-help mailing list