Description Usage Arguments Details Value Warning Author(s) See Also Examples
The code for the resulting function is saved in a file, to be edited and sourced in before calling WinBUGS.
1 | startingFunction(startingValues, file = "getInits.R")
|
startingValues |
list returned from getStartingValues |
file |
character string giving the name of the file to write to |
Given a list containing initial estimates of parameters and random effects, a text file is produced containing code for a function to generate random starting values for use with the bugs() function. It is intended that the file produced be checked and edited prior to use.
A file, with the name given by the 'file' argument, is written.
You are strongly encouraged to edit the file to ensure the result is sensible
Patrick Brown, patrick.brown@utoronto.ca
getStartingValues, bugs
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.