zhijie zhang
2007-Aug-17 14:18 UTC
[R] Is there any good tools to facilitate us to create R functions?
Dear R users, We have some programs for the specific task in our research, but they were very commonly used. We want to make some functions for them, anybody can recommend any good tools to facilitate us to create R functions even without going deep into the theories of R functions ? Any suggestions or help are greatly appreciated. -- With Kind Regards, oooO::::::::: (..)::::::::: :\.(:::Oooo:: ::\_)::(..):: :::::::)./::: ::::::(_/:::: ::::::::::::: [***********************************************************************] Zhi Jie,Zhang ,PHD Tel:86-21-54237149 Dept. of Epidemiology,School of Public Health,Fudan University Address:No. 138 Yi Xue Yuan Road,Shanghai,China Postcode:200032 Email:epistat@gmail.com Website: www.statABC.com [***********************************************************************] oooO::::::::: (..)::::::::: :\.(:::Oooo:: ::\_)::(..):: :::::::)./::: ::::::(_/:::: ::::::::::::: [[alternative HTML version deleted]]
Uwe Ligges
2007-Aug-17 15:22 UTC
[R] Is there any good tools to facilitate us to create R functions?
zhijie zhang wrote:> Dear R users, > We have some programs for the specific task in our research, but they were > very commonly used. We want to make some functions for them, anybody can > recommend any good tools to facilitate us to create R functions even without > going deep into the theories of R functions ? > Any suggestions or help are greatly appreciated. >The tool is a) a manual, b) your eye, and after that c) your keyboard. So, what is your "program" if it is not a function? If my guess is right and your programm is a sequence of many lines of R code: given you have a program that calculates the square root of x, then myfoo <- function(x){ sqrt(x) } is your function: myfoo(4) Uwe Ligges
Francisco J. Zagmutt
2007-Aug-17 20:07 UTC
[R] Is there any good tools to facilitate us to create R functions?
Hello Zhijie, You can many specific commands and tricks by using R commander's menus: install.packages("Rcmdr") library(Rcmdr) However, I can not stress enough that if you want to be proficient and sound in your work with R, you will have to invest time reading the documentation (see documentation section here http://www.r-project.org/) and perhaps an introductory book such as the ones recommended in the R project site. Good luck! Francisco zhijie zhang wrote:> Dear R users, > We have some programs for the specific task in our research, but they were > very commonly used. We want to make some functions for them, anybody can > recommend any good tools to facilitate us to create R functions even without > going deep into the theories of R functions ? > Any suggestions or help are greatly appreciated. >
Weiwei Shi
2007-Aug-17 22:59 UTC
[R] Is there any good tools to facilitate us to create R functions?
Your question is well un-defined. Specify your question, maybe by an example so we can help. You can also send me personal email if you want. I graduate from Fudan too, so I would like to give a favor, lol Best, Weiwei On 8/17/07, zhijie zhang <epistat at gmail.com> wrote:> Dear R users, > We have some programs for the specific task in our research, but they were > very commonly used. We want to make some functions for them, anybody can > recommend any good tools to facilitate us to create R functions even without > going deep into the theories of R functions ? > Any suggestions or help are greatly appreciated. > > -- > With Kind Regards, > > oooO::::::::: > (..)::::::::: > :\.(:::Oooo:: > ::\_)::(..):: > :::::::)./::: > ::::::(_/:::: > ::::::::::::: > [***********************************************************************] > Zhi Jie,Zhang ,PHD > Tel:86-21-54237149 > Dept. of Epidemiology,School of Public Health,Fudan University > Address:No. 138 Yi Xue Yuan Road,Shanghai,China > Postcode:200032 > Email:epistat at gmail.com > Website: www.statABC.com > [***********************************************************************] > oooO::::::::: > (..)::::::::: > :\.(:::Oooo:: > ::\_)::(..):: > :::::::)./::: > ::::::(_/:::: > ::::::::::::: > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch 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. >-- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III
Maybe Matching Threads
- Generating series of distributions with the same skewness and different kurtosis or with same kurtosis and different skewness?
- handle dates in R?
- How to add legend for image()?
- Specify a correct formula in R for Piecewise Linear Functions?
- Anybody has ever met the problem to add a legend to a figure generated by image()?