add_column: Complete data frame with columns

View source: R/create_experimental_file.R

add_columnR Documentation

Complete data frame with columns

Description

This function adds column if does not exist and fill it with provided value.

Usage

add_column(data, col_name, value = NULL)

Arguments

data

a data frame of interest.

col_name

a character. Name of column that should be created if it does not exist

value

optional. A value to fill with.


hadexversum/powerHaDeX documentation built on Sept. 4, 2022, 12:36 p.m.