On Sun, 19 Aug 2007, Mario Alfonso Morales Rivera wrote:
> Hi R users,
>
> I want to use dglm Package.
> I run the examples and it give me an error:
>
> Error en dglm(lot1 ~ log(u), ~1, data = clotting, family = Gamma) :
> no se pudo encontrar la funci?n "as.family"
>
> dglm can't find "as.family" function
>
> why ?
Because it does not exist in R (nor in the current version of package
dglm).
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Please do as we ask. We asked for the output of sessionInfo(), and one
guess is that your versions are not current and this is a problem that has
already been solved: another is that you have attached a package that
conflicts with dglm -- the information we asked for would have helped in
both cases.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595