\HeaderA{finterS-methods}{Intersection of two vectors, Massvectors}{finterS.Rdash.methods}
\aliasA{finterS,Massvector,Massvector-method}{finterS-methods}{finterS,Massvector,Massvector.Rdash.method}
\aliasA{finterS,Massvectorlist,Massvector-method}{finterS-methods}{finterS,Massvectorlist,Massvector.Rdash.method}
\aliasA{finterS,numeric,numeric-method}{finterS-methods}{finterS,numeric,numeric.Rdash.method}
\keyword{methods}{finterS-methods}
\keyword{manip}{finterS-methods}
\begin{Description}\relax
Returns the intersecting (entries) of the first argument
\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.
\item[\code{uniq}] if \code{TRUE} compute non-crossing matching.
\end{ldescription}
\end{Arguments}
\begin{Value}
Massvector
\end{Value}
\begin{Section}{Methods}
\describe{
\item[obx = "numeric", oby = "numeric"] returns intersecting entries of
the first argument.
\item[obx = "Massvector", oby = "Massvector"] returns intersecting entries of
the first argument.
\item[obx = "Massvectorlist", oby = "Massvector"] returns a
Massvectorlist of intersecting entries of
the first argument.
}
\end{Section}
\begin{SeeAlso}\relax
\code{\LinkA{Massvector-class}{Massvector.Rdash.class}},\code{\LinkA{fintersect-methods}{fintersect.Rdash.methods}},\code{\LinkA{intersect}{intersect}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(pldata)
pl1 <- pldata[[1]]
pl2 <- pldata[[4]]
finterS(pl1[,1,drop=TRUE],pl2[,1,drop=TRUE],error=0.1,ppm=FALSE)
finterS(pl1,pl2,error=0.1,ppm=FALSE)
finterS(pldata,pl1,error=0.1,ppm=FALSE)[[4]]
\end{ExampleCode}
\end{Examples}

