get_data | R Documentation |
Access model output table data from an xpdb object.
get_data(xpdb, table = NULL, .problem = NULL, quiet)
xpdb |
An |
table |
Name of the output table to be extracted from the xpdb e.g. 'sdtab001'. Alternative to the '.problem' argument. |
.problem |
Accesses all tables from the specified problem. Alternative to the 'table' argument. |
quiet |
Logical, if |
By default returns data from the last estimation problem. If only simulation problems are present then the data from last simulation will be returned instead. Object returned as tibble for single tables/problems or a named list for multiple tables/problems.
list_data
, xpose_data
, read_nm_tables
# By table name
sdtab <- get_data(xpdb_ex_pk, 'sdtab001')
sdtab
# By problem
tables <- get_data(xpdb_ex_pk, .problem = 1)
tables
# Tip to list available tables in the xpdb
print(xpdb_ex_pk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.