View source: R/mutate_function.R
mutate_function | R Documentation |
Mutate where the game was played into a new column We are just going to use the second name column to do this
mutate_function(basketball_data)
basketball_data |
the data frame we are using to do the manipulation |
The second piece of the code is to get the difference in the scores The absolute value function is used to not get any negative scores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.