Skip to content
Back to formatted view

Raw Message

Message-ID: <48F66B30.1020608@biostat.ku.dk>
Date: 2008-10-15T22:14:08Z
From: Peter Dalgaard
Subject: Generate variable bernoulli
In-Reply-To: <52955.198.168.27.224.1224106349.squirrel@nwebmail.pop.com.br>

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