subsetXeva {Xeva} | R Documentation

## Subset Xeva object.

### Description

Subset Xeva object.

### Usage

    subsetXeva(object, ids, id.name, keep.batch = TRUE)

### Arguments

`object` | The `XevaSet` object.
`ids` | IDs to be selected for.
`id.name` | Names of the IDs.
`keep.batch` | Default `TRUE`. If `FALSE`, remove all other `model.ids` from the experiemt design that do not belong to selection.

### Value

New Xeva object.

### Examples

    data(brca)
    print(brca)
    df <- subsetXeva(brca, ids = c("X-1004", "X-1008", "X-1286"), id.name="patient.id", keep.batch=TRUE)
    print(df)

[Package Xeva version 1.10.0 Index]