Macaulay2 » Documentation
Packages » RInterface :: maxima and minima of RObjects
next | previous | forward | backward | up | index | toc

maxima and minima of RObjects -- maxima and minima of R objects

These functions do the expected thing when passed an RObject.

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

o1 = [1] 1 3 5

o1 : RObject of type integer
i2 : max x

o2 = [1] 5

o2 : RObject of type integer
i3 : min x

o3 = [1] 1

o3 : RObject of type integer