r - RStudio .rd-file - Binomial cofficient in Help file -


i got minor problem keeps bugging me: i'm creating own r package , need documentation/help files that. i'm far, try work out how use \choose command in .rd-files. keeps producing weird output in pdf create via .rd-files. use that:

\deqn{p(k \leq x \leq s) = \sum\limits_{i = k}^{s} \choose(s,j)u^j(1-u)^{s-j} } 

which delivers me

screenshot of incorrect formula

which wrong. if leave out choose command, want here (missing binomial coefficient of course). tried combination think of \choose{s,k}, \choose{s}{k} , gives me same output. ideas?

thanks in advance!

choose odd. try

{{s}\choose{j}} 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -