Skip to contents

Get the gases from a CFP object.

Usage

unique_gases(x)

Arguments

x

the object to extract the gases from.

Value

A character vector of gases in that object.

Examples

unique_gases(base_dat)
#> [1] "CO2"

data.frame(gas = c("CO2", "CH4")) |>
cfp_profile(id_cols = "gas") |>
unique_gases()
#> [1] "CO2" "CH4"