Last updated: 2022-01-19
Checks: 6 1
Knit directory: cogstruct/analysis/
This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.
Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.
Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.
The command set.seed(20220104)
was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.
Great job! Recording the operating system, R version, and package versions is critical for reproducibility.
To ensure reproducibility of the results, delete the cache directory test_checking_cache
and re-run the analysis. To have workflowr automatically delete the cache directory prior to building the file, set delete_cache = TRUE
when running wflow_build()
or wflow_publish()
.
Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.
Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.
The results in this page were generated with repository version 8813e1e. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.
Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish
or wflow_git_commit
). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:
Ignored files:
Ignored: .Rhistory
Ignored: .Rproj.user/
Ignored: _targets.yaml
Ignored: analysis/_targets.yaml
Ignored: analysis/test_checking_cache/
Ignored: bnu/_targets/meta/process
Ignored: bnu/_targets/meta/progress
Ignored: bnu/_targets/objects/
Ignored: bnu/_targets/user/
Ignored: bnu/archived/
Ignored: bnu/config/
Ignored: bnu/diagnose.Rmd
Ignored: bnu/images/
Ignored: figure/
Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.
These are the previous versions of the repository in which changes were made to the R Markdown (analysis/test_checking.Rmd
) and HTML (docs/test_checking.html
) files. If you’ve configured a remote Git repository (see ?wflow_git_remote
), click on the hyperlinks in the table below to view the files as they were in that past version.
File | Version | Author | Date | Message |
---|---|---|---|---|
html | 011d01c | Liang Zhang | 2022-01-19 | Build site. |
Rmd | 4e6f38d | Liang Zhang | 2022-01-19 | wflow_publish("analysis/*.Rmd") |
html | 9690cf9 | Liang Zhang | 2022-01-19 | Build site. |
Rmd | 433c01b | Liang Zhang | 2022-01-19 | wflow_publish("analysis/*.Rmd") |
html | 655f04c | Liang Zhang | 2022-01-19 | Build site. |
Rmd | 5afb062 | Liang Zhang | 2022-01-19 | wflow_publish("analysis/*.Rmd") |
html | ddaae03 | Liang Zhang | 2022-01-19 | Build site. |
Rmd | ce3f503 | Liang Zhang | 2022-01-19 | wflow_publish("analysis/test_checking.Rmd") |
html | 22b9029 | Liang Zhang | 2022-01-19 | Build site. |
Rmd | 02fac49 | Liang Zhang | 2022-01-19 | wflow_publish("analysis/test_checking.Rmd") |
tests_keyboard <- read_lines(here::here("config/require_keybord.txt"))
validation <- tar_read(device_info) |>
mutate(valid_device = !(game_name %in% tests_keyboard & used_mouse)) |>
inner_join(tar_read(data_validation)) |>
filter(valid_device & valid_version) |>
group_by(user_id, game_name) |>
filter(
if_else(
str_detect(game_name_abbr, "[A|B]$"),
row_number(desc(game_time)) == 1,
row_number(desc(game_time)) <= 2
)
) |>
ungroup()
indices <- tar_read(indices) |>
semi_join(validation) |>
mutate(across(starts_with("game_name"), ~ str_remove(.x, "[A|B]$"))) |>
group_by(user_id, game_name_abbr, game_name, index_name) |>
mutate(occasion = recode(row_number(game_time), `1` = "test", `2` = "retest")) |>
ungroup() |>
pivot_wider(
id_cols = c(user_id, game_name, game_name_abbr, index_name),
names_from = occasion,
values_from = score
)
tests_included <- deframe(distinct(indices, game_name_abbr, game_name))
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
render_content <- function(file, ...) {
knitr::knit(
text = knitr::knit_expand(file, ...),
quiet = TRUE
)
}
purrr::imap_chr(
tests_included,
~ render_content(
file = here::here("archetypes/child_check_index.Rmd"),
game_name_abbr = .x,
game_name = .y
)
) |>
str_c(collapse = "\n\n") |>
cat()
data <- indices |>
filter(
game_name_abbr == "CRTPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "TOVAS",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "WxPred",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "NsymNCmp",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "Digit3back",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "Grid2back",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "Paint2back",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "Verbal3back",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "Nback3",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "StopSigPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "ColStrpPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "CardSortPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "BirdsPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "JLO",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "HOP",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "MOTPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "AttSrc",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "SSTMPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "LocMemStd",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "FWSPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "AscLanMd",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "LdnTwr",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "FPTPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "SCSpan",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "KeepTrack",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "SRTPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "DualTaskPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "ConRec",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "BPS",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "DRM",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "ProbRL",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "Seman",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "Tone",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "FlkrPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "FacesPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "FDSPro",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "NVR",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "DR",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "VR",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "MR3D",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "DD",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "TOJ",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "RP",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "CalcSpdMed",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "Dual2back",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "AntiSac",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "SchulteMed",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "AscMem",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "NLEMed",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "CalcMed",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "FR",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "RAT",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "OCSpan",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "RSpan",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "DirectSrc",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data <- indices |>
filter(
game_name_abbr == "MSynWin",
across(contains("test"), ~ !is.infinite(.x)),
!(is.na(test) & is.na(retest))
)
n_indices <- n_distinct(data$index_name)
data |>
pivot_wider(
id_cols = user_id,
names_from = index_name,
values_from = test
) |>
select(-user_id) |>
GGally::ggpairs()
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
data_test_retest <- drop_na(data)
reliability <- data_test_retest |>
group_by(index_name) |>
group_modify(
~ tibble(
n = nrow(.x),
icc = .x |>
select(contains("test")) |>
psych::ICC() |>
pluck("results", "ICC", 3),
r = cor(.x$test, .x$retest)
)
) |>
ungroup()
data_test_retest |>
ggpubr::ggscatter("test", "retest") +
geom_text(
data = reliability,
aes(
x = -Inf, y = Inf,
label = str_glue("N = {n}\nr = {round(r, 2)}\nicc = {round(icc, 2)}")
),
hjust = -0.1, vjust = 1.1
) +
facet_wrap(~ index_name, ncol = 1, scales = "free") +
theme(aspect.ratio = 1)
Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE)
at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson
for each individual chunk that is cached. Using either autodep
or dependson
will remove this warning. See the knitr cache options for more details.
sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 10 x64 (build 22000)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.936
[2] LC_CTYPE=Chinese (Simplified)_China.936
[3] LC_MONETARY=Chinese (Simplified)_China.936
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] targets_0.10.0 forcats_0.5.1 stringr_1.4.0 dplyr_1.0.7
[5] purrr_0.3.4 readr_2.1.1 tidyr_1.1.4.9000 tibble_3.1.6
[9] ggplot2_3.3.5 tidyverse_1.3.1 workflowr_1.7.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.7 here_1.0.1 lubridate_1.8.0 getPass_0.2-2
[5] ps_1.6.0 assertthat_0.2.1 rprojroot_2.0.2 digest_0.6.29
[9] utf8_1.2.2 R6_2.5.1 cellranger_1.1.0 backports_1.4.1
[13] reprex_2.0.1 evaluate_0.14 httr_1.4.2 pillar_1.6.4
[17] rlang_0.99.0.9001 readxl_1.3.1 data.table_1.14.2 rstudioapi_0.13
[21] whisker_0.4 callr_3.7.0 jquerylib_0.1.4 rmarkdown_2.11
[25] igraph_1.2.11 munsell_0.5.0 broom_0.7.11 compiler_4.1.2
[29] httpuv_1.6.5 modelr_0.1.8 xfun_0.29 pkgconfig_2.0.3
[33] htmltools_0.5.2 tidyselect_1.1.1 codetools_0.2-18 fansi_1.0.0
[37] withr_2.4.3 crayon_1.4.2 tzdb_0.2.0 dbplyr_2.1.1
[41] later_1.3.0 grid_4.1.2 jsonlite_1.7.2 gtable_0.3.0
[45] lifecycle_1.0.1 DBI_1.1.2 git2r_0.29.0 magrittr_2.0.1
[49] scales_1.1.1 cli_3.1.0 stringi_1.7.6 fs_1.5.2
[53] promises_1.2.0.1 xml2_1.3.3 bslib_0.3.1 ellipsis_0.3.2
[57] generics_0.1.1 vctrs_0.3.8 tools_4.1.2 glue_1.6.0
[61] hms_1.1.1 processx_3.5.2 fastmap_1.1.0 yaml_2.2.1
[65] colorspace_2.0-2 base64url_1.4 rvest_1.0.2 knitr_1.37
[69] haven_2.4.3 sass_0.4.0