Extremes | R Documentation |
pmax
, pmin
, pmax.int
and pmin.int
return the
parallel maxima and minima of the input values.
NOTE: This man page is for the pmax
, pmin
, pmax.int
and pmin.int
S4 generic functions defined in the
BiocGenerics package.
See ?base::pmax
for the default methods
(defined in the base package).
Bioconductor packages can define specific methods for objects
(typically vector-like or matrix-like) not supported by the default
methods.
pmax(..., na.rm=FALSE)
pmin(..., na.rm=FALSE)
pmax.int(..., na.rm=FALSE)
pmin.int(..., na.rm=FALSE)
... |
One or more vector-like or matrix-like objects. |
na.rm |
See |
See ?base::pmax
for the value returned by the
default methods.
Specific methods defined in Bioconductor packages will typically return an object of the same class as the input objects.
base::pmax
for the default pmax
,
pmin
, pmax.int
and pmin.int
methods.
showMethods
for displaying a summary of the
methods defined for a given generic function.
selectMethod
for getting the definition of
a specific method.
pmax,Rle-method in the S4Vectors package
for an example of a specific pmax
method (defined for
Rle objects).
BiocGenerics for a summary of all the generics defined in the BiocGenerics package.
pmax
showMethods("pmax")
selectMethod("pmax", "ANY") # the default method
pmin
showMethods("pmin")
selectMethod("pmin", "ANY") # the default method
pmax.int
showMethods("pmax.int")
selectMethod("pmax.int", "ANY") # the default method
pmin.int
showMethods("pmin.int")
selectMethod("pmin.int", "ANY") # the default method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.