Open elray1 opened 1 year ago
This comment relates to this issue as well as #8, #25, and #26. What's our planned API for this functionality for output type conversion? I propose that there be a single exported high-level function, corresponding to this issue, that handles data type conversion generally. As necessary it can delegate to/call other data type conversion functions as in those other issues.
This is on @eahowerton 's to-do list, but is available for someone to pick up if they are looking to finish off a PR.
The functions ended up in hubUtils, PR here: https://github.com/hubverse-org/hubUtils/pull/150
It may be nice to have a utility function to convert between output types such as quantiles and samples when possible.
Two links to related resources: