The R Project SVN R

Rev

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

Rev 286 Rev 15518
Line 7... Line 7...
7
\description{
7
\description{
8
\code{replace} replaces the values in \code{x}
8
\code{replace} replaces the values in \code{x}
9
with indexes given in \code{list} by those given in \code{values}.
9
with indexes given in \code{list} by those given in \code{values}.
10
If necessary, the values in \code{values} are recycled.
10
If necessary, the values in \code{values} are recycled.
11
}
11
}
-
 
12
\arguments{
-
 
13
  \item{x}{vector}
-
 
14
  \item{list}{an index vector}
-
 
15
  \item{values}{replacement values}
-
 
16
}
-
 
17
\value{
-
 
18
  A vector with the values replaced.
-
 
19
}
-
 
20
\note{
-
 
21
  \code{x} is unchanged: remember to assign the result.
-
 
22
}
12
\keyword{manip}
23
\keyword{manip}