This function generates the code needed to create a pre-existing
data.frame from scratch.
Usage
Table_Creator(df, for_R_package = TRUE)
Arguments
- df
Required - The data.frame you are looking to recreate.
- for_R_package
Required - default: TRUE - Either TRUE or
FALSE. If set to TRUE, the output will include the
description framework for the data.frame, to be inserted into the data.R
file of the package.
Value
The code required to recreate a pre-existing table, and (optionally)
the description framework of the data.frame to be inserted into a packages
data.R file.