popsRename {IFC}R Documentation

Populations Renaming

Description

Renames populations in an 'IFC_data' object

Usage

popsRename(
  obj,
  old_names = character(),
  new_names = character(),
  loops = 10L,
  verbose = TRUE,
  ...
)

Arguments

obj

an 'IFC_data'.

old_names

character vector of name(s) of population(s) to rename inside 'obj'. Default is character().

new_names

character vector of desired new population(s) name(s). Default is character().

loops

a positive integer specifying the maximum number of recursive loops before raising an error. Default is 10L.

verbose

whether to show a final message about the renaming. Default is TRUE.

...

other arguments to be passed.

Value

an object of class 'IFC_data'.


[Package IFC version 0.2.1 Index]