Re: [R] fetch uneven
Thanks ! You all made my day ! -- View this message in context: http://r.789695.n4.nabble.com/fetch-uneven-tp3381949p3383956.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] 'x' values must be positive.
b [1] 2 1 1 1 1 1 pie(b) Error in pie(b) : 'x' values must be positive. Can someone help me? And sorry i am an beginner -- View this message in context: http://r.789695.n4.nabble.com/x-values-must-be-positive-tp3381744p3381744.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] 'x' values must be positive.
It's ok, i solved it. It wasn't an integer, -- View this message in context: http://r.789695.n4.nabble.com/x-values-must-be-positive-tp3381744p3381859.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] fetch uneven
Hi I have a vector m: m [1] ABC transporters [2] 2 [3] Acetyl-CoA [4] 1 [5] Energie [6] 1 [7] FAD Biosynthese [8] 1 [9] Glyoxylate and dicarboxylate metabolism [10] 1 [11] Transport [12] 1 and i want to do take the even or uneven numbers out of them you can do it lik this: a-m[c(1,3,5,7,9,11)] but i want to do this automatic and i never now how long the vector is. Can someone help me? -- View this message in context: http://r.789695.n4.nabble.com/fetch-uneven-tp3381949p3381949.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.