modelUpdate {BRugs} | R Documentation |

## Updating the model

### Description

This function updates the model.

### Usage

```
modelUpdate(numUpdates, thin = 1, overRelax = FALSE)
```

### Arguments

`numUpdates` |
This function updates the model by carrying out |

`thin` |
The samples from every k |

`overRelax` |
If |

### Note

This function can be executed once the model has been compiled and initialized.

If an attempt is made to execute this function in an inappropriate context the generic error message ‘command is not allowed (greyed out)’ is displayed.

### References

Neal, R. (1998): Suppressing random walks in Markov chain Monte Carlo using ordered over-relaxation.
In M.I. Jordan (Ed.): *Learning in Graphical Models*, Kluwer
Academic Publishers, Dordrecht, 205-230.
https://glizen.com/radfordneal/publications.html

### See Also

*BRugs*version 0.9-2.1 Index]