reset_sfr: reset SFR

View source: R/reset_sfr.R

reset_sfrR Documentation

reset SFR

Description

A function for reseting SFR to zero

Usage

reset_sfr(x, sfr)

Arguments

x

numeric or DoOR response matrix, input values

sfr

numeric or character, either a value to subtract if x is a vector or an InChIKey if x is a DoOR response matrix

Details

Performs a simple subtraction of the SFR value.

Author(s)

Daniel Münch <daniel.muench@uni-konstanz.de>

Examples

# load data
library(DoOR.data)
data(door_response_matrix)

# create a response matrix with the SFR reset to 0
door_response_matrix_SFRreset <- reset_sfr(door_response_matrix, "SFR")


ropensci/DoOR.functions documentation built on Feb. 22, 2024, 9:44 a.m.