require(stats)
examplecheck<-rbinom(100,1,0.3)
is.bern(examplecheck)
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
Run the code above in your browser using DataLab