Retrieve hyperparameter from a musica or result_collection object
Source:R/class_result_collection.R
hyperparameter.Rd
The hyperparameter
contain list of prior and tuning
parameters
Usage
hyperparameter(x, ...)
# S4 method for class 'musica'
hyperparameter(x, result)
# S4 method for class 'result_collection'
hyperparameter(x)
hyperparameter(x, ...) <- value
# S4 method for class 'musica,list'
hyperparameter(x, result) <- value
# S4 method for class 'result_collection,list'
hyperparameter(x) <- value
Arguments
- x
A
result_model
orresult_collection
object- ...
Other inputs
- result
The name of the result_list entry.
- value
A
list
of hyperparameters for model
Examples
data(res)
hyperparameter(res, "result")
#> list()