Skip to content

Commit

Permalink
show animation in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yjunechoe committed Mar 19, 2024
1 parent a78054f commit 8b26e40
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 31 deletions.
10 changes: 9 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,15 @@ asciicast::init_knitr_engine(

Julia [GLM.jl](https://github.com/JuliaStats/GLM.jl) and [MixedModels.jl](https://github.com/JuliaStats/MixedModels.jl) based implementation of the cluster-based permutation test for time series data, powered by [JuliaConnectoR](https://github.com/stefan-m-lenz/JuliaConnectoR).

![](man/figures/clusterpermute_slice.png)
```{r, echo = FALSE}
is_markdown_output <- grepl("markdown", knitr::opts_knit$get("out.format"))
fig <- if (is_markdown_output) {
"man/figures/clusterpermute_animation.gif"
} else {
"man/figures/clusterpermute_slice.png"
}
knitr::include_graphics(fig, error = FALSE)
```

## Installation and usage

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ implementation of the cluster-based permutation test for time series
data, powered by
[JuliaConnectoR](https://github.com/stefan-m-lenz/JuliaConnectoR).

![](man/figures/clusterpermute_slice.png)
<img src="man/figures/clusterpermute_animation.gif" style="display: block; margin: auto;" />

## Installation and usage

Expand Down
34 changes: 17 additions & 17 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8b26e40

Please sign in to comment.