Learn R Programming

IFC (version 0.1.1)

data_rm_features: Remove Features from an IFC_data Object

Description

Removes regions from an already existing `IFC_data` object.

Usage

data_rm_features(obj, features, list_only = TRUE, ...)

Arguments

obj

an `IFC_data` object extracted by ExtractFromDAF(extract_features = TRUE) or ExtractFromXIF(extract_features = TRUE).

features

a character vector of features names to remove within 'obj'. Note that "Object Number" is not allowed and will be excluded from 'features' if present.

list_only

whether to return a list of elements that will be impacted by the removal. Default is TRUE. If FALSE then modified object will be returned

...

Other arguments to be passed.

Value

an `IFC_data` object or a list of elements impacted by removal depending on 'list_only' parameter.