jaromilfrossard / permuco

R package for permutation test in linear model with nuisances variables
https://jaromilfrossard.github.io/permuco/
11 stars 2 forks source link

Alternative "less" never reached in `compute_tfce()` #14

Closed psychelzh closed 2 months ago

psychelzh commented 2 months ago

Seemingly there is a typo, the last if branch should be alternative == "less"?

https://github.com/jaromilfrossard/permuco/blob/19ec0f916f5a090a532cf423adb584d6a15369b3/R/compute_tfce.R#L23-L29

jaromilfrossard commented 2 months ago

fixed in 1.1.3