check_names_table: Control the provided names

Description Usage Arguments Value Author(s) Examples

View source: R/check_names_table.R

Description

A function to control the names provided for the dataframe to be created. A table name starting with a number is not valid for an object name in R. Thus this function adds "table_" before the number.

Usage

1

Arguments

table

The table to be controlled. Type = dataframe

col_name

The name of the table column to control. Type = character

Value

The given table with the chosen column transformed.

Author(s)

Briac LE RAY (briac.leray@partnre.com)

Examples

1
check_names_table(table = my_table, col_name = "column_1")

Tiipiac/StressTestOptimization documentation built on Dec. 18, 2021, 5:08 p.m.