projects
/
iramuteq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80f4bfa
)
compatibility R 4.0
author
pierre
<ratinaud@univ-tlse2.fr>
Mon, 4 May 2020 15:39:36 +0000
(17:39 +0200)
committer
pierre
<ratinaud@univ-tlse2.fr>
Mon, 4 May 2020 15:39:36 +0000
(17:39 +0200)
Rscripts/chdfunct.R
patch
|
blob
|
history
diff --git
a/Rscripts/chdfunct.R
b/Rscripts/chdfunct.R
index
d93db99
..
a5034b6
100644
(file)
--- a/
Rscripts/chdfunct.R
+++ b/
Rscripts/chdfunct.R
@@
-49,7
+49,7
@@
PrintProfile<- function(dataclasse,profileactlist,profileetlist,antiproact,antip
cltot<-as.data.frame(as.character(cltot[,ncol(cltot)]))
tot<-nrow(cltot)
classes<-as.data.frame(as.character(dataclasse[,ncol(dataclasse)]))
- classes.s<-as.data.frame(summary(
cltot[,1]
,maxsum=500))
+ classes.s<-as.data.frame(summary(
as.factor(cltot[,1])
,maxsum=500))
profile<-rbind(profile,c('***','nb classes',clusternb,'***','',''))
antipro<-rbind(antipro,c('***','nb classes',clusternb,'***','',''))
for(i in 1:clusternb) {