The R Project SVN R

Rev

Rev 59039 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 61168
Line 53... Line 53...
53
  \emph{Statistical Models in S.}
53
  \emph{Statistical Models in S.}
54
  Wadsworth & Brooks/Cole.
54
  Wadsworth & Brooks/Cole.
55
}
55
}
56
\seealso{\code{\link{coef}}}
56
\seealso{\code{\link{coef}}}
57
\examples{
57
\examples{
58
y <- c(1:3,7,5)
58
y <- c(1:3, 7, 5)
59
x <- c(1:3,6:7)
59
x <- c(1:3, 6:7)
60
( ee <- effects(lm(y ~ x)) )
60
( ee <- effects(lm(y ~ x)) )
61
c( round(ee - effects(lm(y+10 ~ I(x-3.8))), 3) )
61
c( round(ee - effects(lm(y+10 ~ I(x-3.8))), 3) )
62
# just the first is different
62
# just the first is different
63
}
63
}
64
\keyword{models}
64
\keyword{models}