The R Project SVN R

Rev

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

Rev 68948 Rev 70136
Line 1... Line 1...
1
% File src/library/stats/man/smooth.Rd
1
% File src/library/stats/man/smooth.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-2007 R Core Team
3
% Copyright 1995-2016 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{smooth}
6
\name{smooth}
7
\alias{smooth}
7
\alias{smooth}
8
\title{Tukey's (Running Median) Smoothing}
8
\title{Tukey's (Running Median) Smoothing}
9
\description{
9
\description{
10
  Tukey's smoothers, \emph{3RS3R}, \emph{3RSS}, \emph{3R}, etc.
10
  Tukey's smoothers, \emph{3RS3R}, \emph{3RSS}, \emph{3R}, etc.
11
}
11
}
12
\usage{
12
\usage{
13
smooth(x, kind = c("3RS3R", "3RSS", "3RSR", "3R", "3", "S"),
13
smooth(x, kind = c("3RS3R", "3RSS", "3RSR", "3R", "3", "S"),
14
       twiceit = FALSE, endrule = "Tukey", do.ends = FALSE)
14
       twiceit = FALSE, endrule = c("Tukey", "copy"), do.ends = FALSE)
15
}
15
}
16
\arguments{
16
\arguments{
17
  \item{x}{a vector or time series}
17
  \item{x}{a vector or time series}
18
  \item{kind}{a character string indicating the kind of smoother required;
18
  \item{kind}{a character string indicating the kind of smoother required;
19
    defaults to \code{"3RS3R"}.}
19
    defaults to \code{"3RS3R"}.}