data_rm_pops: Remove Population from an IFC_data Object

Description Usage Arguments Value

View source: R/data_rm_pops.R

Description

Removes populations from an already existing 'IFC_data' object.

Usage

1
data_rm_pops(obj, pops, list_only = TRUE, ...)

Arguments

obj

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

pops

a character vector of population names to remove within 'obj'. Note that "All" and "" are not allowed and will be excluded from 'pops' 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.


IFC documentation built on Jan. 13, 2021, 9:45 p.m.