O'Reilly logo

Practical Predictive Analytics by Ralph Winters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required