extract_parameters: A function that extracts desired parameters from a dataframe.

View source: R/extract_parameters.R

extract_parametersR Documentation

A function that extracts desired parameters from a dataframe.

Description

A function that extracts desired parameters from a dataframe. It returns a dataframe with only the desired parameters.

Usage

extract_parameters(dataframe, parameters)

Arguments

dataframe

A dataframe to extract from

parameters

A list of parameter names to extract

Value

Returns a dataframe with only the desired parameters.

Author(s)

Sam Loontjens

Examples

parameters_to_extract <- c("A, Ci, elapsed, Qin")
new_dataframe <- extract_parameters(old_dataframe, parameters_to_extract)


SamLoontjens/HandlingLicorFiles documentation built on Nov. 14, 2023, 6:32 a.m.