Closed
Description
Is your feature request related to a problem? Please describe.
Sometimes one of the inputs is a table of bucketed counts, which should clearly be treated as a numeric vector, but cmdstanr can't handle it.
Describe the solution you'd like
Automatically call as.numeric() if it's a 1D table.
For 2D tables, maybe automatically call as.matrix().
Describe alternatives you've considered
Alternative: give a clear error message about needing to convert the table to numeric. The "asJSON" part is distracting and obscures what needs to happen.
Additional context
Add any other context about the feature request here.