Publications by Andrei Tamas Foldes

platform_rr

20.08.2024

Prepare Panel data set.seed(8675309) target_n <- 1000 diaryWaves <- 30 panelWaves <- 6 studyDays <- 100 studyStartDate <- as_datetime("2024-05-01 00:00:00") Generate PIDs # generate 1000 10-digit random string that are unique and store as a vector set.seed(123) # Set the target number of observations per wave platform_pids <- replicate(10...

187 sym R (54002 sym/48 pcs)

practicing brms

27.02.2024

Setup Contrast: Curiosity[high]-Curiosity[low] library(tidyverse) # ggplot, dplyr, %>%, and friends library(brms) # Bayesian modeling through Stan library(tidybayes) # Manipulate Stan objects in a tidy way ## Warning: package 'tidybayes' was built under R version 4.2.3 ## ## Attaching package: 'tidybayes' ## The following objects...

146 sym R (13381 sym/49 pcs) 5 img

mean bold

31.08.2023

Goal: Paired t-test on mean univariate activation (Cued-Uncued) Preprocessing arousal.bold.uni <- read_csv("task-arousal_maskedMeanEff.csv") ## New names: ## Rows: 1872 Columns: 4 ## ── Column specification ## ────────────────────────────────────────────...

266 sym R (5366 sym/14 pcs) 3 img 1 tbl

mean centering

18.08.2023

Load data Mean centering: arousal.extended.wbaseline <- arousal.extended.wbaseline %>% # Grand mean centering (CMC) mutate(baseline.gmc = baseline-mean(baseline, na.rm=TRUE)) %>% # Person mean centering (more generally, centering within cluster) group_by(participant) %>% mutate(baseline.cm = mean(baseline, na.rm=TRUE), b...

100 sym 1 img 1 tbl

Tedana BP 27

16.04.2023

## Warning: package 'tibble' was built under R version 4.2.3 ## Warning: package 'dplyr' was built under R version 4.2.3 ## Warning: package 'broom' was built under R version 4.2.3 ## Warning: package 'emmeans' was built under R version 4.2.3 ## Warning: package 'sjPlot' was built under R version 4.2.3 ## Warning: package 'reactable' was built unde...

4065 sym R (129269 sym/379 pcs) 113 img 22 tbl

tedana bp 25

16.04.2023

## Warning: package 'tibble' was built under R version 4.2.3 ## Warning: package 'dplyr' was built under R version 4.2.3 ## Warning: package 'broom' was built under R version 4.2.3 ## Warning: package 'emmeans' was built under R version 4.2.3 ## Warning: package 'sjPlot' was built under R version 4.2.3 ## Warning: package 'reactable' was built unde...

4065 sym R (132014 sym/379 pcs) 113 img 22 tbl

demo

31.03.2023

arousal.extended.wbaseline <- readRDS("arousal.extended.wbaseline.RDS") m3 <- lmer(rating ~ cueing*baseline + session + (1 + cueing | participant) + (1 | item) , data=arousal.extended.wbaseline %>% mutate(rating = as.numeric(rating), baseline=as.numeric(baseline))) ## boundary (singular) fit: see help('isSingular') tab_model(m3) rating Predict...

35 sym 1 img 5 tbl

learnmem_ms

30.03.2023

1 Abstract 2 Introduction Relational memory/Latent learning Relational memory/Latent learning in time and sleep-dependent consolidations What are important moderator variables in time and sleep-dependent consolidation as it pertains to generalization [we don’t know] Encoding Strength [Berrens meta] in time and sleep-dependent memory consolida...

30970 sym 7 img 6 tbl

tedana nogsr

08.03.2023

Functional connectivity Mean correlation maps library(abind) # List to store all 2D matrices matrices <- list() # Loop through all .tsv files in the folder files <- list.files(path = "conmats_filtered_tedana/", pattern = "*.tsv",full.names = TRUE) for (file in files) { mat <- read.table(file, sep = "\t", header = FALSE) matrices[[file...

1814 sym R (55299 sym/138 pcs) 45 img 30 tbl

aroma nogsr

08.03.2023

Functional connectivity Mean correlation maps library(abind) # List to store all 2D matrices matrices <- list() # Loop through all .tsv files in the folder files <- list.files(path = "conmats_filtered_aromanogsr/", pattern = "*.tsv",full.names = TRUE) for (file in files) { mat <- read.table(file, sep = "\t", header = FALSE) matrices[[...

1814 sym R (55526 sym/138 pcs) 45 img 30 tbl