bioinformatics… politics… recipes… (mostly notes to self.)
refactor <- function(x) { x <- factor(x, levels=levels(x)[levels(x) %in% x] ) return(x)}
No comments:
Post a Comment