Check out example codes for "r - create a new empty variable in a dataset". It will help you in understanding the concepts better.

Code Example 1

df$blankVar <- NA # Blank column

Learn ReactJs, React Native from akashmittal.com