Set optimization parameters in a UBaymodel object
setOptim.Rd
Set the optimization parameters in a UBaymodel object.
Arguments
- 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