File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -8154,20 +8154,21 @@ The following example is from @file{Poisson.Rd}:
81548154
81558155@example
81568156@group
8157- \deqn@{p(x) = \frac@{\lambda^x e^@{-\lambda@}@}@{x!@}@}@{%
8157+ \deqn@{p(x) = \frac@{\lambda^x e^@{-\lambda@}@}@{x!@}@}@{
81588158 p(x) = \lambda^x exp(-\lambda)/x!@}
8159- for \eqn@{x = 0, 1, 2, \ldots@}.
8159+ for \eqn@{x = 0, 1, 2, \ldots@} .
81608160@end group
81618161@end example
81628162
81638163@iftex
81648164For the @LaTeX{} manual and in enhanced @HTML{} help, this becomes
81658165@c: this is TeXinfo markup, not the result of the conversions.
8166+ @c FIXME: switch to @displaymath when we require Texinfo 6.8 or later
81668167@quotation
81678168@cartouche
81688169@tex
81698170$$ p(x) = {\lambda^x e^{-\lambda} \over x!} $$
8170- for $x = 0, 1, 2, \ldots$.
8171+ for $x = 0, 1, 2, \ldots$ .
81718172@end tex
81728173@end cartouche
81738174@end quotation
@@ -8180,7 +8181,7 @@ In plain-text help we get
81808181@example
81818182 p(x) = lambda^x exp(-lambda)/x!
81828183
8183- for x = 0, 1, 2, ....
8184+ for x = 0, 1, 2, ... .
81848185@end example
81858186@end cartouche
81868187@end quotation
Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ rpois(n, lambda)
5353\details {
5454 The Poisson distribution has density
5555%-- please leave the linebreaking for the next two ! --
56- \deqn {p(x ) = \frac {\lambda ^ x e ^ {- \lambda }}{x ! }}{p(x ) = \lambda ^ x exp(- \lambda )/ x ! }
56+ %-- keep in sync with R - exts # Mathematics --
57+ \deqn {p(x ) = \frac {\lambda ^ x e ^ {- \lambda }}{x ! }}{
58+ p(x ) = \lambda ^ x exp(- \lambda )/ x ! }
5759 for \eqn {x = 0 , 1 , 2 , \ldots } .
5860 The mean and variance are \eqn {E(X ) = Var(X ) = \lambda }.
5961
You can’t perform that action at this time.
0 commit comments