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 4 weeks ago

psychelzh commented 4 weeks 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 4 weeks ago

fixed in 1.1.3