Used by several internal functions when the problem argument has not been supplied by the user.
last_data_problem(xpdb, simtab = FALSE)
An xpose database object.
Logical if `TRUE` the last simulation problem is returned. If `FALSE` the last estimation problem is returned.
The last estimation problem when `simtab = FALSE`, else the last simulation problem as an integer.