R levels()

Jmnote (토론 | 기여)님의 2020년 2월 3일 (월) 19:29 판 (→‎개요)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

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 }}