get_wide_data: Retrieve wide-format data from fitted dpm model
Description
This helper function provides a simple way to retrieve the
widened data from a fitted dpm() object.
Usage
get_wide_data(model)
Value
A data.frame with input data transformed from "long" to "wide"
format, with just one row per person/entity. Internally, this is
generated by calling panelr::widen_panel() after some
preprocessing.