Adds column to a BayesTools table while not breaking formatting, attributes, etc...
add_column(
table,
column_title,
column_values,
column_position = NULL,
column_type = NULL
)
BayesTools table
title of the new column
values of the new column
position of the new column (defaults to NULL
which
appends the column to the end)
type of values of the new column table (important for formatting,
defaults to NULL
= the function tries to guess numeric / character based on the
column_values
but many more specific types are available)
returns an object of 'BayesTools_table' class.