| Line 46... |
Line 46... |
| 46 |
residuals are available from the result.}
|
46 |
residuals are available from the result.}
|
| 47 |
\item{df.offset}{allows the degrees of freedom to be increased by
|
47 |
\item{df.offset}{allows the degrees of freedom to be increased by
|
| 48 |
\code{df.offset} in the GCV criterion.}
|
48 |
\code{df.offset} in the GCV criterion.}
|
| 49 |
\item{penalty}{the coefficient of the penalty for degrees of freedom
|
49 |
\item{penalty}{the coefficient of the penalty for degrees of freedom
|
| 50 |
in the GCV criterion.}
|
50 |
in the GCV criterion.}
|
| 51 |
|
51 |
|
| 52 |
\item{control.spar}{optional list with named components controlling the
|
52 |
\item{control.spar}{optional list with named components controlling the
|
| 53 |
root finding when the smoothing parameter \code{spar} is computed,
|
53 |
root finding when the smoothing parameter \code{spar} is computed,
|
| 54 |
i.e., missing or \code{NULL}, see below.
|
54 |
i.e., missing or \code{NULL}, see below.
|
| 55 |
|
55 |
|
| 56 |
\bold{Note} that this is partly \emph{experimental} and may change
|
56 |
\bold{Note} that this is partly \emph{experimental} and may change
|
| Line 69... |
Line 69... |
| 69 |
defaults to 500.}
|
69 |
defaults to 500.}
|
| 70 |
}
|
70 |
}
|
| 71 |
Note that \code{spar} is only searched for in the interval
|
71 |
Note that \code{spar} is only searched for in the interval
|
| 72 |
\eqn{[low, high]}.
|
72 |
\eqn{[low, high]}.
|
| 73 |
}
|
73 |
}
|
| 74 |
|
74 |
|
| 75 |
\item{tol}{A tolerance for same-ness of the \code{x} values. The
|
75 |
\item{tol}{A tolerance for same-ness of the \code{x} values. The
|
| 76 |
values are binned into bins of size \code{tol} and values which
|
76 |
values are binned into bins of size \code{tol} and values which
|
| 77 |
fall into the same bin are regarded as the same.
|
77 |
fall into the same bin are regarded as the same.
|
| 78 |
Must be strictly positive (and finite).}
|
78 |
Must be strictly positive (and finite).}
|
| 79 |
}
|
79 |
}
|
| 80 |
\details{
|
80 |
\details{
|
| 81 |
Neither \code{x} nor \code{y} are allowed to containing missing or
|
81 |
Neither \code{x} nor \code{y} are allowed to containing missing or
|
| 82 |
infinite values.
|
82 |
infinite values.
|
| 83 |
|
83 |
|
| 84 |
The \code{x} vector should contain at least four distinct values.
|
84 |
The \code{x} vector should contain at least four distinct values.
|
| 85 |
\sQuote{Distinct} here is controlled by \code{tol}: values which are
|
85 |
\sQuote{Distinct} here is controlled by \code{tol}: values which are
|
| 86 |
regarded as the same are replaced by the first of their values and the
|
86 |
regarded as the same are replaced by the first of their values and the
|
| 87 |
corresponding \code{y} and \code{w} are pooled accordingly.
|
87 |
corresponding \code{y} and \code{w} are pooled accordingly.
|
| 88 |
|
88 |
|