search for: resultsmean

Displaying 1 result from an estimated 1 matches for "resultsmean".

2011 Apr 10
2
howto calculate column means in data frame
...have a big iterative procedure that produces a long list of data.frames such as the one called "results" here. Is there an easy way to produce a similar list of data.frames comprised of the mean of each of the columns in results, such that it ends up like the one I've shown in "resultsmean" below? I've tried apply and lapply, still not got the correct arguments. As usual, TIA. Jim > results [[1]] name LOR23 BIA23 MSE23 H0R23 1 0.2111122 -1.012228 -0.095937 0.035650 1.00 2 0.2111122 -0.836300 0.079991 0.042322...