These functions compute miscellaneous mathematical functions. The naming follows the standard for computer languages such as C or Fortran.
- a numeric or
complexvector or array.
These are internal generic primitive functions: methods can be defined for them individually or via the
Math group generic. For complex arguments (and the default method),
abs(z) == Mod(z) and
sqrt(z) == z^0.5.
Both are S4 generic and members of the
Math group generic.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
‘plotmath’ for the use of
sqrt in plot annotation.
Documentation reproduced from R 2.15.3. License: GPL-2.