diff --git a/README.md b/README.md index c7041b34..ab60337f 100644 --- a/README.md +++ b/README.md @@ -66,10 +66,14 @@ Pkg.add("UnfoldMakie") ```julia using UnfoldMakie -using CairoMakie +using CairoMakie # backend +using Unfold,UnfoldSim # Fit / Simulation + data, evts = UnfoldSim.predef_eeg(; noiselevel = 12, return_epoched = true) +data = reshape(data,1,size(data)...) # fake a single channel + times = range(0, step = 1 / 100, length = size(data, 2)) -m= fit(UnfoldModel,@formula(0~1+condition),evts,data,times) +m = fit(UnfoldModel,@formula(0~1+condition),evts,data,times) plot_erp(coeftable(m)) ```