BaşlayınÜcretsiz Başlayın

Sampling deals

In the previous exercise, you counted the deals Amir worked on. Now it's time to randomly pick five deals so that you can reach out to each customer and ask if they were satisfied with the service they received. You'll try doing this both with and without replacement.

Additionally, you want to make sure this is done randomly and that it can be reproduced in case you get asked how you chose the deals, so you'll need to set the random seed before sampling from the deals.

dplyr is loaded and amir_deals is available.

Bu egzersiz

Introduction to Statistics in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Set random seed to 31
___

# Sample 5 deals without replacement
amir_deals %>%
  ___
Kodu Düzenle ve Çalıştır