expand_types_plain: Expand a 'type' column in a data frame (grouping not taken...

View source: R/datawrangling.R

expand_types_plainR Documentation

Expand a 'type' column in a data frame (grouping not taken into account)

Description

This is the workhorse for expand_types.

Usage

expand_types_plain(x, type_var = "type", strict = TRUE, types, subtypes)

Arguments

x

An object of class data.frame.

type_var

A string. The name of the data frame variable that holds the type codes. Defaults to type.

strict

Logical. Apply conditions before expanding subtype codes to main type codes?

Value

A data frame.


inbo/n2khab documentation built on Jan. 15, 2025, 9:36 a.m.