Skip to content

Commit

Permalink
docs(sessions): some typos from after removing the .groups
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjohnst86 committed May 7, 2024
1 parent eeb9952 commit 2604e78
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions sessions/functionals.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -741,17 +741,15 @@ seconds).
rr_df <- import_multiple_files("RR.csv", import_rr)
rr_df |>
group_by(file_path_id, day) |>
summarise(across(ibi_s, list(mean = mean))
)
summarise(across(ibi_s, list(mean = mean)))
```

```{r admin-rr-summarised-for-book}
#| echo: false
rr_df <- import_multiple_files("RR.csv", import_rr)
rr_df |>
group_by(file_path_id, day) |>
summarise(across(ibi_s, list(mean = mean))
) |>
summarise(across(ibi_s, list(mean = mean))) |>
trim_filepath_for_book()
```

Expand All @@ -763,16 +761,14 @@ While there are no missing values here, let's add the argument
#| eval: false
rr_df |>
group_by(file_path_id, day) |>
summarise(across(ibi_s, list(mean = \(x) mean(x, na.rm = TRUE)))
)
summarise(across(ibi_s, list(mean = \(x) mean(x, na.rm = TRUE))))
```

```{r admin-rr-summarise-na-rm-for-book}
#| echo: false
rr_df |>
group_by(file_path_id, day) |>
summarise(across(ibi_s, list(mean = \(x) mean(x, na.rm = TRUE)))
) |>
summarise(across(ibi_s, list(mean = \(x) mean(x, na.rm = TRUE)))) |>
trim_filepath_for_book()
```

Expand Down Expand Up @@ -980,4 +976,3 @@ changes to the Git history with {{< var keybind.git >}}.
rm(actigraph_df, rr_df)
save.image(here::here("_temp/functionals.RData"))
```

0 comments on commit 2604e78

Please sign in to comment.