Description Usage Arguments Details Value TODO See Also Examples
create_inits
returns a list that contains initial values randomly
generated from the prior distribution.
1 | create_inits(x, composite, stationary, noise, priors, chains)
|
x |
An |
priors |
A list that contains the parameter values for the priors. |
chains |
The number of Markov chains. The default is 4. |
This creates a list of length chains
that contains randomly generated
initial values. The intention is to specify initial values for the parameters
for the Markov chains. The user can change the values as they like prior to
inputting the list into bcgp
.
A list of length chains
The elements of this list will be named
lists, where each of these has the name of a parameter.
Decide whether to add options for "heteroscedastic" and "composite"
1 2 3 | x <- matrix(runif(40), ncol= 4, nrow = 10)
create_inits(x)
create_inits(x, priors = create_priors(), chains = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.