[R] Biologist R learner

chuck.01 CharlieTheBrown77 at gmail.com
Mon Nov 19 18:09:46 CET 2012


Please take the advice of Berend if you ever want to get help here.  Also,
you will need to do some basic and initial work yourself; read what he
suggested, use Google to search keywords, and see great help like this:

http://cran.r-project.org/doc/contrib/Short-refcard.pdf

also, use the built in help pages by using a question mark like this:

?min
?max
?ifelse
?cumsum

Good luck; don't let a sharp learning curve stop you from learning R.



Anna23 wrote
> 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-tp4650044p4650066.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list