how to get an empty data.frame R code example
Example 1: R empty datafrane
df <-- data.frame()
Example 2: r - create a new empty variable in a dataset
df$blankVar <- NA # Blank column
df <-- data.frame()
df$blankVar <- NA # Blank column