Skip to contents

Julia setup

Start a Julia session set up for jlmerclusterperm

julia_setup_ok()
Check Julia requirements for jlmerclusterperm
jlmerclusterperm_setup()
Initial setup for the jlmerclusterperm package

Interface to Julia regression modelling

Making a jlmer_spec object and fitting models in Julia

make_jlmer_spec()
Create a specifications object for fitting regression models in Julia
jlmer()
Fit a Julia regression model using jlmer specifications
to_jlmer()
Fit a Julia regression model using lme4 syntax

Cluster-based permutation analysis

Empirical clusters

Detect empirical clusters from the observed data using timewise regression models

compute_timewise_statistics()
Fit Julia regression models to each time point of a time series data
extract_empirical_clusters()
Detect largest clusters from a time sequence of predictor statistics

Null distribution

Construct a null distribution of cluster-mass statistics via bootstrapped permutation

permute_by_predictor()
Permute data while respecting grouping structure(s) of observations
permute_timewise_statistics()
Simulate cluster-mass statistics via bootstrapped permutations
extract_null_cluster_dists()
Construct a null distribution of cluster-mass statistics

Significance test

Test the probability of the observed cluster-mass statistic vs. null distribution

calculate_clusters_pvalues() clusters_are_comparable()
Calculate bootstrapped p-values of cluster-mass statistics
walk_threshold_steps()
Test the probability of cluster-mass statistics over a range of threshold values

All in one go

clusterpermute()
Conduct a cluster-based permutation test

Tidiers

Methods for collecting jlmerclusterperm objects as tidy data

tidy(<timewise_statistics>) tidy(<empirical_clusters>) tidy(<null_cluster_dists>)
Tidiers for cluster permutation test objects
tidy(<jlmer_mod>) glance(<jlmer_mod>)
Tidier methods for Julia regression models

Interop utilities

Set and get Julia options from R

set_rng_state() reset_rng_state() get_rng_state() set_rng_seed() get_rng_seed()
Interface to the Julia RNG
julia_progress()
Set/get options for Julia progress bar