crsuzh / ReplicationSuccess

R package for Design and Analysis of Replication Studies
https://crsuzh.github.io/ReplicationSuccess/
1 stars 0 forks source link

`pSceptical()`: argument `alternative` not used #23

Closed florafauna closed 3 years ago

SamCH93 commented 3 years ago

Is this about pSceptical.R ? Because the lines 42-47 depends on alternative if(alternative == "one.sided") { if(sign(zo) == sign(zr)) res <- res/2 else res <- 1 - res/2 }

florafauna commented 3 years ago

you are right....