R levels()

1 개요[ | ]

R levels()
  • "Levels Attributes"
x <- factor(c(1,1,1,1,2,2,2,2))
options(echo=T)
x
levels(x)[1] <- "low"
levels(x)[2] <- "high"
x

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}