X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=Rscripts%2FCHD.R;h=974e90107aa8ee1404e760cedb5835a9738cee47;hp=53fb813f4c7487dca279a034ba2a8fa4c40cd72e;hb=b19770356272772c8c8ba75f351520eca186bd19;hpb=e4fcd29b0d143168ba43be91e3c829eceefb0dd3 diff --git a/Rscripts/CHD.R b/Rscripts/CHD.R index 53fb813..974e901 100644 --- a/Rscripts/CHD.R +++ b/Rscripts/CHD.R @@ -41,6 +41,10 @@ find.max <- function(dtable, chitable, compte, rmax, maxinter, sc, TT) { res } + + + + CHD<-function(data.in, x=9, mode.patate = FALSE, svd.method, libsvdc.path=NULL){ # sink('/home/pierre/workspace/iramuteq/dev/findchi2.txt') dataori <- data.in @@ -103,7 +107,7 @@ CHD<-function(data.in, x=9, mode.patate = FALSE, svd.method, libsvdc.path=NULL){ rmax <- NULL inert <- find.max(dtable, chitable, compte, rmax, maxinter, sc, TT) - print('@@@@@@@@@@@@@@@@@@@@@@@@@@@@') + print('@@@@@@@@@@@@@@@@@@@@@@@@@@@@') pp('max inter phase 1', inert$maxinter/TT)#max(listinter)) print('@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ordert <- ordert[order(ordert[,3]),]