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

max(RObject) -- maximum of an R object

Description

Return the maximum value of an R vector.

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

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/RInterface/doc/stats.m2:25:0.