[R-sig-ME] Generate variable bernoulli
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Thu Oct 16 00:14:08 CEST 2008
marcioestat at pop.com.br wrote:
>
> Hi all,
> Could anybody tell me why my R(2.5.1) software is not finding the
> funcion RBERN that generates bernoulli variables!
> I have already looked at the search of the R website and there is
> this function, but when I try to use doesn't show at the software.
> Do I need to install a new version or do I need to install any
> package or do other thing to aloud this function!
> Thanks,
> Márcio
What makes you think that there should be an RBERN, and what does it
have to do with mixed models???
Anyways, Bernoulli variables are binomials with size=1, so try rbinom.
--
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-sig-mixed-models
mailing list