Preparing Data Before Analysis
Code Example 2
Code
8 / 11
Code Example 2
Code
Code Example 2
r
prepared_data |>
summarise(
n_rows = n(),
n_participants = n_distinct(participant_id),
duplicate_participant_rows = n_rows - n_participants
)