From: pierre Date: Sun, 29 Sep 2024 16:39:05 +0000 (+0200) Subject: ... X-Git-Url: http://iramuteq.org/git?a=commitdiff_plain;h=c4aee157110a0c6957b35620675e411f1b07f67d;p=iramuteq ... --- diff --git a/tabchi2mcnemar.py b/tabchi2mcnemar.py index b42a9a1..d7cda15 100644 --- a/tabchi2mcnemar.py +++ b/tabchi2mcnemar.py @@ -79,7 +79,7 @@ class McNemar(AnalyseMatrix): ) dial.CenterOnParent() val = dial.ShowModal() - if val==wx.ID_OK : + if val==wx.ID_OK : self.colsel1 = dial.list_box_1.GetSelections() self.colsel2 = dial.list_box_2.GetSelections() if dial.chiopt : @@ -141,7 +141,7 @@ class McNemar(AnalyseMatrix): listres<-list() listcol<-list() cont<-1 - """%(ffr(self.tableau.parametres['csvfile']), self.tableau.parametres['syscoding']) + """%(ffr(self.tableau.parametres['csvfile']), 'utf8') if len(self.colsel1)==1: strsel1=str(tuple(self.colsel1)).replace(',','') else: @@ -239,7 +239,7 @@ class McNemar(AnalyseMatrix): chi$residuals<-round(chi$residuals,digits=2) chi$contrib<-round(chi$contrib, digits=2) nom_col<-colnames(chi$observed) - + if (ncol(chi$observed)