.BG M
.VE $Header: /usr3/s/current/s/data/.help/RCS/adjust,v 1.2 84/01/04 06:08:52 rab Exp $
.FN adjust
.TL
?adjust: Adjusted Variables for Regression
.CS
?adjust(x, y, which, regargs, ...)
.PP
.AG x
matrix of independent variables.
.AG y
dependent variable.
.AG which
the column number of the variable in matrix `x' to be
adjusted for the other `x' variables.
.AG regargs
other regression arguments, i.e., arguments to the function
`reg' used to control intercept (`int=FALSE'), weights
(`w=weights'), etc.
.RT
structure with components `x' and `y'.
.RC x
values of column `which' of the matrix `x' which are not
explained by a linear fit on the other columns of `x'.
.RC y
values of the dependent variable `y' which are not explained
by a linear fit on the other `x' variables.
.EX
xy <- ?adjust(myx, myy, 3)
plot(xy,xlab="Adjusted values of 3rd Variable",
  ylab="Adjusted response")
.KW regression
.WR
