[Rd] unnecessary braces?

Gabor Grothendieck ggrothendieck at gmail.com
Tue Aug 18 12:27:46 CEST 2009


Just a guess but try writing it on one line without the % symbols.

On Mon, Aug 17, 2009 at 6:03 PM, Ben Bolker<bolker at ufl.edu> wrote:
>
>  the version 2 parser thinks I have unnecessary braces,
> but I can't find any.  False positive or am I missing
> something?  If a false positive, is there any way to
> work around the warning?
>
> * checking Rd files against version 2 parser ... WARNING
> Warning: ./man/dbetabinom.Rd:32-34: Unnecessary braces at ‘{p(x) = %
> (C(N,x)*Beta(N-x+theta*(1-p),x+theta*p))/%
> Beta(theta*(1-p),theta*p)}’
>
> =============
> \details{
>   The beta-binomial distribution is the result of
> compounding a beta distribution of probabilities with
> a binomial sampling process.  The density function is
> \deqn{p(x) = %
> \frac{C(N,x) \mbox{Beta}(N-x+\theta(1-p),x+\theta p)}%
> {\mbox{Beta}(\theta(1-p),\theta p)}}%
> {p(x) = %
> (C(N,x)*Beta(N-x+theta*(1-p),x+theta*p))/%
> Beta(theta*(1-p),theta*p)}
> The parameters \code{shape1} and \code{shape2} are
> the more traditional parameterization in terms of
> the parameters of the per-trial probability distribution.
> }
>
> --
> Ben Bolker
> Associate professor, Biology Dep't, Univ. of Florida
> bolker at ufl.edu / www.zoology.ufl.edu/bolker
> GPG key: www.zoology.ufl.edu/bolker/benbolker-publickey.asc
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



More information about the R-devel mailing list