\Header{unit.pmin}{Parallel Unit Minima and Maxima}
\alias{unit.pmax}{unit.pmin}
\keyword{dplot}{unit.pmin}
\begin{Description}\relax
Returns a unit object whose i'th value is the minimum (or maximum)
of the i'th values of the arguments.
\end{Description}
\begin{Usage}
\begin{verbatim}
unit.pmin(...)
unit.pmax(...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{...}] One or more unit objects. 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The length of the result is the maximum of the lengths of the
arguments;  shorter arguments are recycled in the usual manner.
\end{Details}
\begin{Value}
A unit object.
\end{Value}
\begin{Author}\relax
Paul Murrell
\end{Author}
\begin{Examples}
\begin{ExampleCode}
max(unit(1:3, "cm"), unit(0.5, "npc"))
unit.pmax(unit(1:3, "cm"), unit(0.5, "npc"))
\end{ExampleCode}
\end{Examples}

