1% File src/library/grid/man/unit.pmin.Rd
2% Part of the R package, https://www.R-project.org
3% Copyright 1995-2007 R Core Team
4% Distributed under GPL 2 or later
5
6\name{unit.pmin}
7\alias{unit.pmin}
8\alias{unit.pmax}
9\alias{unit.psum}
10\title{ Parallel Unit Minima and Maxima }
11\description{
12  Returns a unit object whose i'th value is the minimum (or maximum)
13  of the i'th values of the arguments.
14}
15\usage{
16unit.pmin(...)
17unit.pmax(...)
18unit.psum(...)
19}
20\arguments{
21  \item{\dots}{ One or more unit objects. }
22}
23\details{
24  The length of the result is the maximum of the lengths of the
25  arguments;  shorter arguments are recycled in the usual manner.
26}
27\value{
28  A unit object.
29}
30\author{ Paul Murrell }
31\examples{
32max(unit(1:3, "cm"), unit(0.5, "npc"))
33unit.pmax(unit(1:3, "cm"), unit(0.5, "npc"))
34}
35\keyword{dplot}
36