redefine_features_def_feat: IFC_features_def Feature Redefinition

View source: R/redefine_utils.R

redefine_features_def_featR Documentation

IFC_features_def Feature Redefinition

Description

Helper to rename a feature within IFC_features_def.

Usage

redefine_features_def_feat(
  features_def,
  to_match_feat = NULL,
  to_replace_feat = NULL,
  force_default = FALSE,
  ...
)

Arguments

features_def

an 'IFC_features_def' object or a list containing features definition. Default is missing.

to_match_feat

a string with a features_def name to use for matching 'features_def' names. Default is NULL

to_replace_feat

a string of features_def name to use for replacing 'features_def' names. Default is NULL

force_default

whether to force default names for features (except the one defined by 'to_replace_feat'). This removes custom names and replaces them with default values. Default is FALSE.

...

Other arguments to be passed.

Value

an 'IFC_features_def' object, or a list containing features definition


IFC documentation built on Sept. 14, 2023, 1:08 a.m.