Skip to contents

Return subset of a PreSandwichLayer or SandwichLayer which meets conditions.

Usage

# S4 method for class 'PreSandwichLayer'
subset(x, subset)

# S4 method for class 'PreSandwichLayer'
x[i]

Arguments

x

PreSandwichLayer or SandwichLayer object

subset

Logical vector identifying values to keep or drop

i

indices specifying elements to extract or replace. See help("[") for further details.

Value

x subset by subset or i