Skip to content

Commit

Permalink
typo in group_by section
Browse files Browse the repository at this point in the history
  • Loading branch information
rmonajemi committed Jan 19, 2024
1 parent 97ed90a commit 19d7dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcourse/dplyr_group0.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pulse %>% filter(ran == "sat") %>%
meanPluse1 = mean(pulse1,na.rm=TRUE), meanPulse2 = mean( pulse2 , na.rm=TRUE) )
```

`r show_warning(" It is good practice to check your results. For example, the group sizes in the original survey table who ran and sat must match the sum of sizes in the different summaries shown above under 'size' column. For ran==\"ran\" summary we have 22+24=44 and for ran==\"sat\" summary we have 29+35=64. We can check them against totals below and we see that they do:")`
`r show_warning(" It is good practice to check your results. For example, the group sizes in the original survey table who ran and sat must match the sum of sizes in the different summaries shown above under 'size' column. For ran==\"ran\" summary we have 22+24=46 and for ran==\"sat\" summary we have 29+35=64. We can check them against totals below and we see that they do:")`

```{r}
pulse %>% count(ran)
Expand Down

0 comments on commit 19d7dcc

Please sign in to comment.