[chronojump] Fixed signification "stars" in encoder cross graphs



commit 77789e6f1de3567703c169b38f8bce42421f9365
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Nov 26 22:14:34 2015 +0100

    Fixed signification "stars" in encoder cross graphs

 encoder/graph.R |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index a39fd0b..c33605d 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -1627,9 +1627,9 @@ getModelPValueWithStars <- function(model) {
                stars = "***"
        else if(p.value <= 0.001)
                stars = "**"
-       else if(p.value <= 0.05)
-               stars = "*"
        else if(p.value <= 0.01)
+               stars = "*"
+       else if(p.value <= 0.05)
                stars = "."
        return(paste(round.scientific(p.value), " ", stars, sep=""))
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]