[R] Passing arguments between apply and l(s)apply functions vs. nested for loop

2013-03-27 Thread Mark Orr
appreciate some guidance by example, not by reference. I don't think further reading of existing texts, unless extremely basic, is going to help me. Thanks, Mark Orr Mark G. Orr, Ph.D. Epidemiology Merit Fellow Assoc. Research Sci

[R] Fitting a System of Difference Equations

2008-06-16 Thread Mark Orr
Hi R friends, I’m interested in fitting data to the following system of difference equations: Change in M = k*(1-M.prev)*(1-F.prev) + R*(1-M.prev)*F.pref Change in F = k*(1-F.prev)*(1-M.prev) + S*(1-F.prev)*M.pref Parameters: k, R, S, are transition rates Variables: M = Proportion of Males

[R] Looping and Pasting

2008-02-22 Thread Mark Orr
, that alternatives should be general, because I desire this functionality for other tasks. Thanks in advance, Mark Orr [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLE