Session Ready
Exercise

Functions that modify the data.table

Let's write another function using this technique! Complete scale_by_10(), a function that creates a new feature by multiplying an existing column by 10.

Instructions
100 XP
  • scale_by_10() should select a column, multiply it by 10, and store the result in a new column.
  • Use this function to scale the engine temperature column by 10. Call the new column "temp10".