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

log(RObject) -- natural logarithm of an R object

Description

Compute the natural logarithm of each element of an R numeric vector, calling R's log.

i1 : log RObject exp 2

o1 = [1] 2

o1 : RObject of type double

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/exp-log.m2:117:0.