![]() I tried to make the blackjack game more realistic and usable. Ifelse( price > 1500, "medium", "cheap"))) # A tibble: 20 x 5 I wanted to share the code I fooled around with and created over the past couple of hours. if one were to code a Blackjack game, you could feasibly get away with just two global. Mutate(price_cat = ifelse(price > 10000, "expensive", Anyone starting out in programming, whether learning Java, C++. MasterMathematician (15) So I have recently received a new assignment in class to create a blackjack program. ![]() September 18 & 20, 2017 A few important R functions (ifelse) temp =0, temp, -temp) # absolute value # 2 1 0 1 2 A few important R functions (ifelse) set.seed(4747)ĭiamonds %>% select(carat, cut, color, price) %>%
0 Comments
Leave a Reply. |