Learn R Programming

xpose4 (version 4.5.3)

xsubset: Extract or set the value of the Subset slot.

Description

Extract or set the value of the Subset slot of an "xpose.data" object.

Usage

xsubset(object)
xsubset(object) <- value

Arguments

object

An "xpose.data" object.

value

A string with the subset expression.

Value

A string representing the subset expression.

Details

The subset string has the same syntax as the subset argument to, e.g. panel.xyplot. Note, however, that the "xpose.data" subset is not used as an argument to panel.xyplot. It is intended as the subset argument to the Data and SData functions.

See Also

Data, SData

Examples

Run this code

## 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)

xsubset(xpdb5) <- "DV > 0"
xsubset(xpdb5)

Run the code above in your browser using DataLab