[Rd] Documentation bug in complex.Rd (PR#8218)
berwin@maths.uwa.edu.au
berwin at maths.uwa.edu.au
Wed Oct 19 09:23:48 CEST 2005
Dear all,
I noticed a documentation error in complex.Rd. A patch that corrects
the error is as follows:
[bossiaea:R-devel-src]$ svn diff
Index: src/library/base/man/complex.Rd
===================================================================
--- src/library/base/man/complex.Rd (revision 35935)
+++ src/library/base/man/complex.Rd (working copy)
@@ -52,7 +52,8 @@
complex values. Modulus and argument are also called the \emph{polar
coordinates}. If \eqn{z = x + i y} with real \eqn{x} and \eqn{y},
\code{Mod}\eqn{(z) = \sqrt{x^2 + y^2}}, and for
- \eqn{\phi= Arg(z)}, \eqn{x = \cos(\phi)} and \eqn{y = \sin(\phi)}.
+ \eqn{\phi= \code{Arg}(z)}, \eqn{x = \code{Mod}(z)\cos(\phi)} and
+ \eqn{y = \code{Mod}(z)\sin(\phi)}.
They are all generic functions: methods can be defined
for them individually or via the \code{\link{Complex}} group generic.
Cheers,
Berwin
--please do not edit the information below--
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system = i686, linux-gnu
status =
major = 2
minor = 2.0
year = 2005
month = 10
day = 06
svn rev = 35749
language = R
Locale:
C
Search Path:
.GlobalEnv, package:methods, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, Autoloads, package:base
More information about the R-devel
mailing list