Julia GLM.jl and MixedModels.jl based implementation of the cluster-based permutation test for time series data, powered by JuliaConnectoR.
- +Installation and usage
@@ -115,7 +115,7 @@Installation and usage# Both lines must be run at the start of each new session library(jlmerclusterperm) jlmerclusterperm_setup()
See the Get Started page on the package website for background and tutorials.
Wholesale CPA with clusterpermu
subject = "Chick", time = "Time"
)
chickweights_spec
Cluster-based permutation test with clusterpermute()
:
set_rng_state(123L)
@@ -151,7 +151,7 @@ Wholesale CPA with clusterpermu
threshold = 2.5,
nsim = 100
)
Including random effects:
chickweights_re_spec <- make_jlmer_spec(
@@ -165,7 +165,7 @@ Wholesale CPA with clusterpermu
threshold = 2.5,
nsim = 100
)$empirical_clusters