The R Project SVN R

Rev

Rev 88970 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88970 Rev 90082
Line 58... Line 58...
58
  \code{\dots}), an unnamed second argument of length 1 will be
58
  \code{\dots}), an unnamed second argument of length 1 will be
59
  interpreted as the degree, such that \code{poly(x, 3)} can be used in
59
  interpreted as the degree, such that \code{poly(x, 3)} can be used in
60
  formulas.
60
  formulas.
61
 
61
 
62
  The orthogonal polynomial is summarized by the coefficients, which can
62
  The orthogonal polynomial is summarized by the coefficients, which can
63
  be used to evaluate it via the three-term recursion given in Kennedy
63
  be used to evaluate it via the three-term recursion given in
64
  & Gentle (1980, pp.\sspace{}343--4), and used in the \code{predict} part of
64
  \bibcitet{|R:Kennedy+Gentle:1980|pp.\sspace{}343--4},
65
  the code.
65
  and used in the \code{predict} part of the code.
66
 
66
 
67
  \code{poly} using \code{\dots} is just a convenience wrapper for
67
  \code{poly} using \code{\dots} is just a convenience wrapper for
68
  \code{polym}: \code{coef} is ignored.  Conversely, if \code{polym} is
68
  \code{polym}: \code{coef} is ignored.  Conversely, if \code{polym} is
69
  called with a single argument in \code{\dots} it is a wrapper for
69
  called with a single argument in \code{\dots} it is a wrapper for
70
  \code{poly}.
70
  \code{poly}.