powered by
panelPomp
These facilitate keeping a record of evaluated log likelihoods.
toParamVec(pParams)toMatrixPparams(listPparams)
toMatrixPparams(listPparams)
toParamVec() returns model parameters in vector form. This function is the inverse of toParamList
toParamVec()
toMatrixPparams() returns an object of class matrix with the model parameters in matrix form.
toMatrixPparams()
matrix
A list with both shared (vector) and unit-specific (matrix) parameters.
PanelPomp parameters in list format
Carles Bretó
prw <- panelRandomWalk() toParamVec(coef(prw, format = 'list')) toMatrixPparams(coef(prw, format = 'list'))
Run the code above in your browser using DataLab