add_dummy: Add dummies to the dataset

View source: R/add_dummy.R

add_dummyR Documentation

Add dummies to the dataset

Description

Add dummies to the dataset

Usage

add_dummy(X, names, ...)

Arguments

X

A df/tibble.

names

A list of characters indicating names for the dummies.

...

Logical expressions.

Value

A df/tibble with additional columns with 1s if conds is TRUE and 0s otherwise.


aflatoune/approche-directe documentation built on May 30, 2022, 1:56 p.m.