prune_divide: Divide 2 Variables Using Pruned Data

View source: R/prune_03-B_divide.R

prune_divideR Documentation

Divide 2 Variables Using Pruned Data

Description

Divide 2 variables using pruned data.

Usage

prune_divide(data, new_var, num_var, den_var, prune_var = "prune_id")

Arguments

data

Dataframe.

new_var

Name of new variable with the result of the computation.

num_var

Name of numerator variable.

den_var

Name of denominator variable.

prune_var

The name of the column with the prune id. Default is "prune_id".

Details

Divide 2 variables using pruned data. When the row has a prune id of NA, the computation returns NA.

Value

Data.frame.


FrankLef/eflMuncher documentation built on July 9, 2022, 11:43 a.m.