[R] How to let R repeat computations over a number of variables

2008-03-14 Thread Uli Kleinwechter
Hello, I have written a small script to read a dataset, compute some basic descriptives and write them to a file (see below). The variable maizeseedcash of which the statistics are calculated is contained in the data frame agr_inputs. My question is whether there is a way to make R compute

Re: [R] How to let R repeat computations over a number of variables

2008-03-14 Thread David Winsemius
Uli Kleinwechter [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Hello, I have written a small script to read a dataset, compute some basic descriptives and write them to a file (see below). The variable maizeseedcash of which the statistics are calculated is contained in the data