- Équipes
- Productions scientifiques
-
- Séminaires
This is an old revision of the document!
Les notes de cours sont autorisées
wpbc = read_delim(“./wpbc.data.txt”,delim=“,”,col_names=F,na = '?')
names_cov = paste0(rep(c('radius','texture','perimeter','area','smoothness','compactness',
'concavity','concave points','symmetry','fractal dimension'),3), c(rep('_mean',10),rep('_SD',10),rep('_worst',10)))
names(wpbc) = c('id','recurrent','time',names_cov,c('Tumor size','Lymph node status'))
wpbc = wpbc %>% mutate(id = factor(id)) %>%
mutate( recurrent = recode_factor(recurrent , "N" = FALSE, 'R' = TRUE ))
glimpse(wpbc)