Inspecting a choice observation
Use the function tail()
to print the last six rows in the sportscar
data frame. For the last choice observation in the data frame (resp.id==200, ques==10
), what was the price of the option that was chosen?
This exercise is part of the course
Choice Modeling for Marketing in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
