Create a vector
Feeling lucky? You better, because this chapter takes you on a trip to the City of Sins, also known as Statisticians Paradise!
Thanks to R and your new data-analytical skills, you will learn how to uplift your performance at the tables and fire off your career as a professional gambler. This chapter will show how you can easily keep track of your betting progress and how you can do some simple analyses on past actions. Next stop, Vegas Baby… VEGAS!!
This exercise is part of the course
Introduction to R
Exercise instructions
- Do you still remember what you have learned in the first chapter? Assign the value
"Go!"
to the variablevegas
. Remember: R is case sensitive!
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Define the variable vegas
vegas <-