R/bernstein.r

Defines functions bernstein

Documented in bernstein

bernstein <- function (v, x, n) 
{
    return((choose(n, v) * x^v * (1 - x)^(n - v)) * (n + 1))
}

Try the penRvine package in your browser

Any scripts or data that you put into this service are public.

penRvine documentation built on May 30, 2017, 2:20 a.m.