Creates an offset vector based on a list.
a list identifying the [location] of each case. This must be a factor.
This function is useful for supplying spatial data to WinBUGS.
A vector of length (1 + length of
id). The first element of the offset vector is 1, corresponding to the position at which data for the first factor appears in id. The second element of the offset vector corresponds to the position at which the second factor appears in
id and so on. The last element of the offset vector corresponds to the length of the
Bailey TC, Gatrell AC (1995). Interactive Spatial Data Analysis. Longman Scientific & Technical. London.
Langford IH (1994). Using empirical Bayes estimates in the geographical analysis of disease risk. Area 26: 142 - 149.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.