The R Project SVN R

Rev

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

Rev 36816 Rev 41508
Line 65... Line 65...
65
  Nothing sensible happens for interaction terms.
65
  Nothing sensible happens for interaction terms.
66
}
66
}
67
\seealso{For (generalized) linear models, \code{\link{plot.lm}} and
67
\seealso{For (generalized) linear models, \code{\link{plot.lm}} and
68
  \code{\link{predict.glm}}.}
68
  \code{\link{predict.glm}}.}
69
\examples{
69
\examples{
-
 
70
require(graphics)
-
 
71
 
70
had.splines <- "package:splines" \%in\% search()
72
had.splines <- "package:splines" \%in\% search()
71
if(!had.splines) rs <- require(splines)
73
if(!had.splines) rs <- require(splines)
72
x <- 1:100
74
x <- 1:100
73
z <- factor(rep(LETTERS[1:4],25))
75
z <- factor(rep(LETTERS[1:4],25))
74
y <- rnorm(100,sin(x/10)+as.numeric(z))
76
y <- rnorm(100,sin(x/10)+as.numeric(z))