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

2016-08-22 Thread Jim Lemon
Hi Vineetha, It sounds like you want the "do.call" function and an argument in your "one function" to specify the function that you want to call. Jim On Tue, Aug 23, 2016 at 6:43 AM, Vineetha Warriyar Kodalore Vijayan wrote: > Dear R package developers, > >

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

2016-08-22 Thread Vineetha Warriyar Kodalore Vijayan
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