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