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.

______________________________________________
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.

Reply via email to