[R] Question concerning Furness iteration & subprogram/modules

From: Mario Cools <mario.cools_at_uhasselt.be>
Date: Wed, 09 Jul 2008 11:55:34 +0200


Dear all,

I have basically two questions were some help would be very useful. The first question is whether there exists a package that performs Furness iterations.
In the field of transportation, growth factor models are estimated using this iterative procedure.
It encompasses and iterative procedure of multiplying matrix elements by the ration of the sum over all columns divided by a goal target, and multiplying all matrix elements by the ratio of the sum over all rows divided by a goal target. Does such procedure exists already in R?

The second question I have is whether it is possible to store subprograms (modules) in a name, to reduce line of code, and make code more readable. I use r-code to generate activity-travel patterns, and afterwards I have a loop were I regenerate those patterns using the same code. Any idea how I could store subprograms (not functions?).

If anyone has some answers for me I would greatly appreciate it.

Best wishes,

Mario    

        [[alternative HTML version deleted]]



R-help_at_r-project.org 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. Received on Wed 09 Jul 2008 - 13:51:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 09 Jul 2008 - 14:31:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive