[R] Biologist R learner

andrew windmills_god at hotmail.com
Mon Nov 19 15:32:24 CET 2012


I am a Biologist and a beginner, please help me to solve this: please
anyone..its my homework and I dont have a clue abt R yet..
   Write a function which does the following tasks:

(a) Calculates minimum and maximum value of a given argument x.
(b) If x is positive, some new vector gets the value of TRUE, and FALSE
otherwise.
(c) Creates a vector where the i:th and (i-1):th values of x are always
summed. First value of
the new vector has the same value as the first component of x. Use the
created function to
some vector x to show that the function works.




--
View this message in context: http://r.789695.n4.nabble.com/Biologist-R-learner-tp4650044.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list