The R Project SVN R

Rev

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

Rev 61588 Rev 62425
Line 1... Line 1...
1
% File src/library/base/man/mean.Rd
1
% File src/library/base/man/mean.Rd
2
% Part of the R package, http://www.R-project.org
2
% Part of the R package, http://www.R-project.org
3
% Copyright 1995-2010 R Core Team
3
% Copyright 1995-2013 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{mean}
6
\name{mean}
7
\title{Arithmetic Mean}
7
\title{Arithmetic Mean}
8
\usage{
8
\usage{
Line 13... Line 13...
13
\alias{mean}
13
\alias{mean}
14
\alias{mean.default}
14
\alias{mean.default}
15
\arguments{
15
\arguments{
16
  \item{x}{An \R object.  Currently there are methods for
16
  \item{x}{An \R object.  Currently there are methods for
17
    numeric/logical vectors and \link[=Dates]{date},
17
    numeric/logical vectors and \link[=Dates]{date},
18
    \link{date-time} and \link{time interval} objects, and for data
18
    \link{date-time} and \link{time interval} objects.  Complex vectors
19
    frames all of whose columns have a method.  Complex vectors are
-
 
20
    allowed for \code{trim = 0}, only.}
19
    are allowed for \code{trim = 0}, only.}
21
  \item{trim}{the fraction (0 to 0.5) of observations to be
20
  \item{trim}{the fraction (0 to 0.5) of observations to be
22
    trimmed from each end of \code{x} before the mean is computed.
21
    trimmed from each end of \code{x} before the mean is computed.
23
    Values of trim outside that range are taken as the nearest endpoint.
22
    Values of trim outside that range are taken as the nearest endpoint.
24
  }
23
  }
25
  \item{na.rm}{a logical value indicating whether \code{NA}
24
  \item{na.rm}{a logical value indicating whether \code{NA}