Resets Xpose variable definitions to factory settings
Source:R/reset.graph.par.R
reset.graph.par.Rd
Function to reset Xpose's graphics parameters definitions to the default.
Arguments
- object
An
xpose.data
object.- classic
A logical operator specifying whether the function should assume the classic menu system. This is an internal option and need never be called from the command line.
Value
An xpose.data
object (classic == FALSE) or null
(classic == TRUE).
Details
This functions is used to reset Xpose's graphic settings definitions to their default values. Graphical settings are read from the file 'xpose.ini' in the root of the 'xpose4' package.
Examples
if (FALSE) {
## xpdb5 is an Xpose data object
## We expect to find the required NONMEM run and table files for run
## 5 in the current working directory
xpdb5 <- xpose.data(5)
## Import graphics preferences you saved earlier using export.graph.par
xpdb5 <- import.graph.par(xpdb5)
## Reset to default values
xpdb5 <- reset.graph.par(xpdb5)
## Change WRES definition
xpdb5 <- change.wres(xpdb5)
}