transform_: Apply Logical Transformation to Selected Variables

Description Usage Arguments Value

View source: R/utilities.R

Description

This function is designed for applying logical operation to the set of sele- cted variables, extracted from a given dataframe.

Usage

1
transform_(DF, selected, operation, new_var_name, discard_selected)

Arguments

DF

A data frame

selected

Character array containign which variables are to be included in the logical operation

operation

String, specifying which logical operation is to be applied to the set of selected variables. Admitted values are:

èNOT –> Only works for one variables set

new_var_name

String, naming the newly created variable

discard_selected

Logical. Should variables from the transformation pool be discarded?

Value

dataframe, containing the results of the logical operation


mandel94/easyAnalysis documentation built on Jan. 2, 2022, 9:52 a.m.