nimble-dev / nimble

The base NIMBLE package for R
http://R-nimble.org
BSD 3-Clause "New" or "Revised" License
156 stars 23 forks source link

address some minor issues with dataframes passed as inits and 3d getParam warning #1481

Closed paciorek closed 2 months ago

paciorek commented 2 months ago

Fixes issue #1470 by adding an arg to getParam that allows one to turn off the warning when getParam used on >2d argument.

Fixes issue #1472 by not deciding that inits is a list of lists if the first element is a dataframe. Also converts dataframes in inits list to matrices with a note to the user.