R/pbern.R

Defines functions pbern

Documented in pbern

# cumulative distribution function of the Bernoulli distribution
pbern<-function(y,prob){
  pbinom(y,size=1,prob=prob,log=FALSE)
}
JenniferPohle/PHSMM documentation built on Jan. 27, 2021, 7:07 p.m.