How to swap (translate) values inside a vector – stackoverflow.com 19:03 Posted by Unknown No Comments Let vetA <- c(1,2,1,2,1,3,4,1,2,3,2,1,4). What are the possibilities so I could do the following swap? Swap: 1 be 3 2 be 4 3 be 2 4 be 1 I have tried this: vetB <- as.factor(vetA) levels(... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitWhat makes a cancer contagious? – biology.stackexchange.comWhat was the church's attitude to "magic" prior to the 15th century? – history.stackexchange.comEtymology of alanine – chemistry.stackexchange.comCommand performance issue – unix.stackexchange.comWhy is "totally ordered" necessary in this implication of the Axiom of Foundation – math.stackexchange.comDm6 Chord, why is it B and not Bb? – music.stackexchange.com
0 Comment to "How to swap (translate) values inside a vector – stackoverflow.com"
Post a Comment