R/bin.R

           #'
           #' This function takes dbinom of data
           #' @export
           bin = function(theta, x) dbinom(x, 20, prob = 1 / (1 + exp(- theta)), log = TRUE)
           
zheng0426/zhenghw3 documentation built on May 26, 2019, 6:33 a.m.