View source: R/buildUBaymodel.R
setOptim | R Documentation |
Set the optimization parameters in a UBaymodel object.
setOptim(model, method = "GA", popsize, maxiter)
model |
a UBaymodel object created using build.UBaymodel |
method |
the method to evaluate the posterior distribution; currently only"GA" (genetic algorithm) is supported |
popsize |
size of the initial population of the genetic algorithm for model optimization |
maxiter |
maximum number of iterations of the genetic algorithm for model optimization |
a UBaymodel object with updated optimization parameters
build.UBaymodel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.