Bym.map() function

295 views
Skip to first unread message

Lennon

unread,
Nov 22, 2012, 10:57:51 AM11/22/12
to r-inla-disc...@googlegroups.com
Hi group,

Anyone know where is the Bym.map() function in the examples on:

http://www.r-inla.org/examples/volume-1/code-for-bym-example

Lennon

unread,
Nov 22, 2012, 10:59:17 AM11/22/12
to r-inla-disc...@googlegroups.com
It would be nice to INLA to plot the maps...

Finn Lindgren

unread,
Nov 22, 2012, 11:13:32 AM11/22/12
to Lennon, r-inla-disc...@googlegroups.com
On 22 November 2012 15:57, Lennon <lenno...@gmail.com> wrote:
> Anyone know where is the Bym.map() function in the examples on:
>
> http://www.r-inla.org/examples/volume-1/code-for-bym-example

From the third line of that file you can figure out where the code is
for your INLA installation:

> system.file("demodata/Bym-map.R", package="INLA")
[1] "/usr/local/lib/R/site-library/INLA/demodata/Bym-map.R"

(Bym.map() is a trivial wrapper for germany.map() which is also
defined in that file.)

/Finn

Lennon

unread,
Nov 22, 2012, 11:31:55 AM11/22/12
to r-inla-disc...@googlegroups.com, Lennon
Thanks!  

Håvard Rue

unread,
Nov 22, 2012, 12:15:49 PM11/22/12
to Lennon, r-inla-disc...@googlegroups.com
On Thu, 2012-11-22 at 08:31 -0800, Lennon wrote:
> Thanks!

check also this

http://www.r-inla.org/faq#TOC-I-have-a-shapefile.-How-can-I-fit-a-spatial-model-with-R-INLA-


--
Håvard Rue
Department of Mathematical Sciences
Norwegian University of Science and Technology
N-7491 Trondheim, Norway
Voice: +47-7359-3533 URL : http://www.math.ntnu.no/~hrue
Mobile: +47-9260-0021 Email: havar...@math.ntnu.no

R-INLA: www.r-inla.org

Lennon

unread,
Nov 22, 2012, 2:59:28 PM11/22/12
to r-inla-disc...@googlegroups.com, Lennon, hr...@r-inla.org
Thanks Håvard!
Reply all
Reply to author
Forward
0 new messages