[R] Error: could not find function "invlogit" and "bayesglm"

573 views
Skip to first unread message

S'dumo Masango

unread,
Apr 17, 2013, 4:08:39 AM4/17/13
to r-h...@r-project.org
I have installed the arm package and its dependents (e.g MATRIX, etc), but
cannot use the functions "invlogit" and "bayesglm" because it gives me the
error message "Error: could not find function "invlogit" or Error: could not
find function "invlogit". What could be the problem.



Regards



Carrington


[[alternative HTML version deleted]]

______________________________________________
R-h...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

John Kane

unread,
Apr 17, 2013, 10:18:55 AM4/17/13
to S'dumo Masango, r-h...@r-project.org
Have you loaded it?

library(arm)

John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!

Jorge I Velez

unread,
Apr 17, 2013, 10:19:29 AM4/17/13
to S'dumo Masango, R mailing list
Hi Carrington,

You also need the boot package (see
http://stat.ethz.ch/R-manual/R-patched/library/boot/html/inv.logit.html )
As for the other function, please load the arm package, e.g.,

require(arm)
require(boot)

and then you will be able to use the functions mentioned below.

HTH,
Jorge.-

Berend Hasselman

unread,
Apr 17, 2013, 10:25:49 AM4/17/13
to S'dumo Masango, r-h...@r-project.org

On 17-04-2013, at 10:08, "S'dumo Masango" <masa...@uniswa.sz> wrote:

> I have installed the arm package and its dependents (e.g MATRIX, etc), but
> cannot use the functions "invlogit" and "bayesglm" because it gives me the
> error message "Error: could not find function "invlogit" or Error: could not
> find function "invlogit". What could be the problem.
>
>
Have you done

library(arm)

etc?

Berend
Reply all
Reply to author
Forward
0 new messages