The R Project SVN R

Rev

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

Rev 68948 Rev 69903
Line 1... Line 1...
1
% File src/library/base/man/pmatch.Rd
1
% File src/library/base/man/pmatch.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-2012 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{pmatch}
6
\name{pmatch}
7
\title{Partial String Matching}
7
\title{Partial String Matching}
8
\usage{
8
\usage{
Line 66... Line 66...
66
}
66
}
67
\seealso{
67
\seealso{
68
  \code{\link{match}}, \code{\link{charmatch}} and
68
  \code{\link{match}}, \code{\link{charmatch}} and
69
  \code{\link{match.arg}}, \code{\link{match.fun}},
69
  \code{\link{match.arg}}, \code{\link{match.fun}},
70
  \code{\link{match.call}}, for function argument matching etc.,
70
  \code{\link{match.call}}, for function argument matching etc.,
-
 
71
  \code{\link{startsWith}} for particular checking of initial matches;
71
  \code{\link{grep}} etc for more general (regexp) matching of strings.
72
  \code{\link{grep}} etc for more general (regexp) matching of strings.
72
}
73
}
73
\examples{
74
\examples{
74
pmatch("", "")                             # returns NA
75
pmatch("", "")                             # returns NA
75
pmatch("m",   c("mean", "median", "mode")) # returns NA
76
pmatch("m",   c("mean", "median", "mode")) # returns NA