From ggrothendieck at gmail.com  Tue Aug 18 12:27:46 2009
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Tue, 18 Aug 2009 06:27:46 -0400
Subject: [Rd] unnecessary braces?
In-Reply-To: <4A89D396.9060009@ufl.edu>
References: <4A89D396.9060009@ufl.edu>
Message-ID: <971536df0908180327o4dee64b8q19bf2cecd0e32348@mail.gmail.com>

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
>
>



[Rd] unnecessary braces?
Gabor Grothendieck