Skip to contents

This function imports variable definitions for a specified Xpose data object from a file.

Usage

import.variable.definitions(object, classic = FALSE)

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 function imports variable definitions (contents of object@Prefs@Xvardef) for a given xpose.data object from a file, typically 'xpose.vardefs.ini'. It returns an xpose.data object. Note that file format is not the same as used for graphics settings. It is a wrapper for the R function dget.

Author

Niclas Jonsson & Justin Wilkins

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)

xpdb5 <- import.variable.definitions(xpdb5)
}