[R-pkg-devel] How to create choices in a function call.

Vineetha Warriyar Kodalore Vijayan vineethawarriyar.kod at ucalgary.ca
Mon Aug 22 22:43:08 CEST 2016


Dear R package developers,

I'm trying to create a small R package that gives me an epidemic from different epidemic models. I have imported the source codes from fortran for different models, say epidata1(),epidata2() and so on and it works fine. My question here is, how I can do the same by calling one function in R, which gives me options to input different model formulas and corresponding parameters.
I'm relatively new in R programming and package building. I googled a lot and read about S3 and S4 methods, but really
couldn't figure out  how/where to start. I would really appreciate any help/guidance.

Thank you,
Vineetha

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list