Appending the variables to the existing dataframe

We will now take the three new variables that we have created, append the new vectors to the existing data frame, and give it a new name:

df2 <- cbind(df,Total.Charges.z,Total.Costs.z,los.int)
str(df2)