42 #[1] 42 as.factor(42) #[1] 42 #Levels: 42
x <- c(1,3,4,2) x #[1] 1 3 4 2 factor(x) #[1] 1 3 4 2 #Levels: 1 2 3 4 as.factor(x) #[1] 1 3 4 2 #Levels: 1 2 3 4
CC-BY-SA 3.0 · Powered by MediaWiki
개인정보처리방침 · ABOUT