Commit f55a0037 authored by Lennart Wittkuhn's avatar Lennart Wittkuhn
Browse files

fix column indexing in data table, see #1

parent 4bcfa1f3
......@@ -785,7 +785,8 @@ dt_participants = dt_participants %>%
filter(!(participant_id %in% subjects_excluded))
base::table(dt_participants$sex)
round(sd(dt_participants$age), digits = 2)
base::summary(dt_participants[c("age", "digit_span", "session_interval")])
base::summary(
dt_participants[, c("age", "digit_span", "session_interval"), with = FALSE])
round(sd(dt_participants$session_interval), digits = 2)
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment