Macaulay2 » Documentation
Packages » RInterface » RObject » min(RObject)
next | previous | forward | backward | up | index | toc

min(RObject) -- minimum of an R object

Description

Return the minimum value of an R vector.

i1 : x = RObject {1, 3, 5}

--error or time limit reached in conversion of output to net: type 'debugError()' to run it again; will try conversion to string

o1 = 1, 3, 5

o1 : RObject of type integer
i2 : min x

--error or time limit reached in conversion of output to net: type 'debugError()' to run it again; will try conversion to string

o2 = 1

o2 : RObject of type integer

See also

Ways to use this method:


The source of this document is in RInterface/doc/stats.m2:46:0.