|
|
@@ -206,12 +206,13 @@ desc_groupe <- function(table, groupe, param = character(0), html=NULL, titre=NU |
|
|
|
test <<- "f" |
|
|
|
tryCatch( |
|
|
|
{ |
|
|
|
fisher.test(table[[var]],modulo,workspace)$p.value |
|
|
|
fisher.test(table[[var]],modulo,workspace=1e+08)$p.value |
|
|
|
}, |
|
|
|
error=function(e) |
|
|
|
{ |
|
|
|
test <<- "X(f failed)" |
|
|
|
chisq.test(table[[var]],modulo)$p.value |
|
|
|
#test <<- "X(f failed)" |
|
|
|
#chisq.test(table[[var]],modulo)$p.value |
|
|
|
fisher.test(table[[var]],modulo,simulate.p.value = T,B = 1e+06)$p.value |
|
|
|
}) |
|
|
|
}, |
|
|
|
error=function(e) |
|
|
|