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

sin(RObject) -- sine of an R object

Description

Compute the sine of each element of an R numeric vector, calling R's sin.

i1 : sin RObject pi

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

o1 = 1.22464679914735e-16

o1 : RObject of type double

See also

Ways to use this method:


The source of this document is in RInterface/doc/trig.m2:149:0.