[R] insert insertRow?

From: Marjo en Edwin <adsl665400_at_tiscali.nl>
Date: Fri 21 Jul 2006 - 17:38:57 EST


Dear all,

In the search for a command to insert a row between other rows in a data frame I found that there seems to be no such command in the base R package. There is however a very simple function insertRow in the micEcon package, that makes use of rbind. I wondered if it would not be possible to include the following micEcon functions in the base package:

insertRow
insertCol

Since the functions are already there, I would gather this is not a very big effort. It would save people that just want to insert rows and columns easily to install another two packages (since micEcon needs systemfit) or defining the functions themselves.

I hope my suggestion will be taken into consideration. Whether it will be adopted or not, I still think R is a fantastic statistical package that I love to use.

Greetings,
Edwin Commandeur



R-help@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. Received on Fri Jul 21 17:44:15 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 21 Jul 2006 - 18:15:49 EST.

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