R data frame create new column based on other columns July 8, 2019 16 32 64 128 R dataframe create new column based on other columns