1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| Abdomen_AIS3=subset(Donnees_AIS3, Donnees_AIS3$Description_R %in% c("abdomen" ))
>head(Abdomen_AIS3)
numvictime numlesion Description_R Description_T
74 M022016039 1 abdomen organes internes
83 M022016039 10 abdomen organes internes
205 M042016053 3 abdomen vaisseaux
213 M042016095 3 abdomen organes internes
229 M042016109 4 abdomen vaisseaux
277 M052016043 3 abdomen organes internes
Abdomen_AIS3_numvictime=as.data.frame(unique(Abdomen_AIS3[,c(1,3)]))
> Abdomen_AIS3_numvictime
numvictime Description_R
74 M022016039 abdomen
205 M042016053 abdomen
213 M042016095 abdomen
229 M042016109 abdomen
277 M052016043 abdomen
Abdomen_AIS3_2=merge(Abdomen_AIS3_numvictime,myData, by = "numvictime")
Error in fix.by(by.y, y) :
'by' doit spécifier une colonne unique correcte |