[R] Rounding parameter values in genoud(), Rgenoud package

Waichler, Scott R Scott.Waichler at pnl.gov
Wed Mar 2 20:01:01 CET 2005


I would like to limit the significant figures of the calibrated
parameters determined by genoud() in the Rgenoud package.  Below is some
example output, where column 1 is model run number, columns 2-7 are the
parameter values, and columns 8-12 are model fit statistics.  I would
like genoud to internally limit parameters to 4 decimal places as shown
in this output.  It is clear that the function is generating many
parameter sets that are identical after rounding.  Can I impose rounding
on the function and thereby lessen processing time?  The only function
argument that seems related is the solution.tolerance, but this is not
for the parameter values.

Run  par1    par2     par3     par4    par5     par6     Bias    MAE
R2       E2       E1'
507 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792
508 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792
509 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792
510 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792
511 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792
512 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792
513 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792
514 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792
515 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792
516 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994
0.9994 0.9792

Thanks,
Scott Waichler
Senior Research Scientist
Pacific Northwest National Laboratory
Richland, WA   USA
scott.waichler at pnl.gov




More information about the R-help mailing list