- Practical Predictive Analytics
- Ralph Winters
- 38字
- 2025-04-04 19:02:43
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)