The R Project SVN R

Rev

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

Rev 68948 Rev 69616
Line 1... Line 1...
1
% File src/library/stats/man/loess.control.Rd
1
% File src/library/stats/man/loess.control.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2011 R Core Team
3
% Copyright 1995-2015 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{loess.control}
6
\name{loess.control}
7
\title{Set Parameters for Loess}
7
\title{Set Parameters for Loess}
8
\usage{
8
\usage{
9
loess.control(surface = c("interpolate", "direct"),
9
loess.control(surface = c("interpolate", "direct"),
10
              statistics = c("approximate", "exact"),
10
              statistics = c("approximate", "exact", "none"),
11
              trace.hat = c("exact", "approximate"),
11
              trace.hat = c("exact", "approximate"),
12
              cell = 0.2, iterations = 4, \dots)
12
              cell = 0.2, iterations = 4, iterTrace = FALSE, \dots)
13
}
13
}
14
\alias{loess.control}
14
\alias{loess.control}
15
\arguments{
15
\arguments{
16
 \item{surface}{should the fitted surface be computed exactly or via
16
 \item{surface}{should the fitted surface be computed exactly
17
   interpolation from a kd tree?  Can be abbreviated.}
17
   (\code{"direct"}) or via interpolation from a kd tree?  Can be abbreviated.}
18
 \item{statistics}{should the statistics be computed exactly or
18
 \item{statistics}{should the statistics be computed exactly,
19
   approximately? Exact computation can be very slow.  Can be abbreviated.}
19
   approximately or not at all?  Exact computation can be very slow.
-
 
20
   Can be abbreviated.}
20
 \item{trace.hat}{should the trace of the smoother matrix be computed
21
 \item{trace.hat}{Only for the (default) case \code{(surface =
-
 
22
     "interpolate", statistics = "approximate")}: should the trace of
21
   exactly or approximately? It is recommended to use the approximation
23
   the smoother matrix be computed exactly or approximately?  It is recommended to use the approximation
22
   for more than about 1000 data points.  Can be abbreviated.}
24
   for more than about 1000 data points.  Can be abbreviated.}
23
 \item{cell}{if interpolation is used this controls the accuracy of the
25
 \item{cell}{if interpolation is used this controls the accuracy of the
24
   approximation via the maximum number of points in a  cell in the kd
26
   approximation via the maximum number of points in a  cell in the kd
25
   tree. Cells with more than \code{floor(n*span*cell)} points are subdivided.}
27
   tree. Cells with more than \code{floor(n*span*cell)} points are subdivided.}
26
 \item{iterations}{the number of iterations used in robust fitting.}
28
 \item{iterations}{the number of iterations used in robust fitting,
-
 
29
   i.e. only if \code{family} is \code{"symmetric"}.}
-
 
30
 \item{iterTrace}{logical (or integer) determining if tracing
-
 
31
   information during the robust iterations (\code{iterations}\eqn{\ge
-
 
32
     2}{>= 2}) is produced.}
27
  \item{\dots}{further arguments which are ignored.}
33
 \item{\dots}{further arguments which are ignored.}
28
}
34
}
29
\description{
35
\description{
30
  Set control parameters for \code{loess} fits.
36
  Set control parameters for \code{loess} fits.
31
}
37
}
32
\value{
38
\value{
Line 34... Line 40...
34
  \item{surface}{}
40
  \item{surface}{}
35
  \item{statistics}{}
41
  \item{statistics}{}
36
  \item{trace.hat}{}
42
  \item{trace.hat}{}
37
  \item{cell}{}
43
  \item{cell}{}
38
  \item{iterations}{}
44
  \item{iterations}{}
-
 
45
  \item{iterTrace}{}
39
  with meanings as explained under \sQuote{Arguments}.
46
  with meanings as explained under \sQuote{Arguments}.
40
}
47
}
41
\seealso{\code{\link{loess}}}
48
\seealso{\code{\link{loess}}}
42
\keyword{smooth}
49
\keyword{smooth}
43
\keyword{loess}
50
\keyword{loess}