Description Usage Arguments Value See Also Examples
View source: R/celdaGridSearch.R
Select the chain with the best log likelihood for each combination of tested parameters from a 'celda_list' object gererated by 'celdaGridSearch()'.
1 | selectBestModel(celda.list)
|
celda.list |
Object of class 'celda_list'. An object containing celda models returned from 'celdaGridSearch()'. |
A new 'celda_list' object containing one model with the best log likelihood for each set of parameters. If only one set of parameters is in the 'celda_list', the best model will be returned directly instead of a 'celda_list' object.
'celdaGridSearch()' can run Celda with multiple parameters and chains in parallel. 'subsetCeldaList()' can subset the 'celda_list' object.
1 2 | ## Returns same result as running celdaGridSearch with "best.only = TRUE"
cgs.best = selectBestModel(celda.CG.grid.search.res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.