The data needs to be separated by column and covariates reflect data for each positive and negative animal sampled. Example code is just an abbreviated version of data but each piece is separated by a comma after parenthesis for each variable. Note that the cell id is also necessary to include in the Load Data section. If the data is loaded successfully, the bottom left corner of the screen will read data loaded (Fig. 9.3).

list(NumFarms = 762, pos=c(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),

Figure 9.3

Figure 9.3: Loading the data into WinBUGS.