\HeaderA{nrmatch-methods}{Number of matching peaks}{nrmatch.Rdash.methods}
\aliasA{nrmatch,Massvector,Massvector-method}{nrmatch-methods}{nrmatch,Massvector,Massvector.Rdash.method}
\aliasA{nrmatch,Massvectorlist,Massvector-method}{nrmatch-methods}{nrmatch,Massvectorlist,Massvector.Rdash.method}
\aliasA{nrmatch,Massvectorlist,NULL-method}{nrmatch-methods}{nrmatch,Massvectorlist,NULL.Rdash.method}
\aliasA{nrmatch,numeric,numeric-method}{nrmatch-methods}{nrmatch,numeric,numeric.Rdash.method}
\keyword{methods}{nrmatch-methods}
\keyword{misc}{nrmatch-methods}
\begin{Description}\relax
Determines Number of matching peaks.
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{obx}] see below in \bold{Methods} section
\item[\code{oby}] see below in \bold{Methods} section
\item[\code{error}] measurement error in \emph{e.g.} Da or as relative error
in parts per million (ppm)
\item[\code{ppm}] if \code{TRUE} then error in parts per million(ppm), in
arbitrary units otherwise.
\end{ldescription}
\end{Arguments}
\begin{Section}{Methods}
\describe{
\item[obx = "numeric", oby = "numeric"] ~~describe this method here 
\item[obx = "Massvector", oby = "Massvector"] ~~describe this method here 
\item[obx = "Massvectorlist", oby = "Massvector"] ~~describe this method here 
\item[obx = "Massvectorlist", oby = "NULL"] ~~describe this method here 
}
\end{Section}
\begin{Examples}
\begin{ExampleCode}
  data(pldata)
  pl1 <- pldata[[1]]
  pl2 <- pldata[[4]]
  nrmatch(pl1[,1,drop=TRUE],pl2[,1,drop=TRUE],error=0.1,ppm=FALSE)
  nrmatch(pl1,pl2,error=0.1,ppm=FALSE)
  nrmatch(pldata,pl1,error=0.1,ppm=FALSE)
nrmatch(pldata,NULL,error=0.1,ppm=FALSE)
\end{ExampleCode}
\end{Examples}

