Finding the levels of a factor
A data set called sportscar has been loaded for you. It describes choices between different sports cars that have four features:
- the number of
seats - the
transmission type - whether it has a
convertible roof - the
pricein thousands of dollars
Feel free to inspect the data frame using your favorite functions. When you are done, use summary() or levels() to find out what the levels for the seat variable are in this data set. The levels of the seat variable in sportscar are:
Bu egzersiz, kursun bir parçasıdır
Choice Modeling for Marketing in R
Uygulamalı etkileşimli egzersiz
Teoriyi etkileşime dönüştürün, interaktif egzersizlerimizden biriyle
Egzersize başla