✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Create a variable called actual_fraud which equals "No" if the fraud variable equals 0, and "Yes" if the fraud variable equals 1. How many cases of fraud were detected?
HINT: You can use the rep() function to first fill the actual_fraud variable with one response, eg , then use a conditional statement to replace observations with the other response accordingly.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!