[R] Getting names of objects passed with "..."
mmeredith at wcs.org
Fri Jun 1 12:17:26 CEST 2007
Thanks, Henrik, but 'foo' doesn't do what I want:
x <- "some stuff"
second <- "more stuff"
 "first" ""
>...he wants the argument name if there is one otherwise the
> deparsed argument value, but clarification would be helpful.
The function using this compares estimates of animal densities, CIs, etc
using different models, with one object containing the results of one model.
It extracts key results and AIC from these objects and does a summary
matrix, with lowest AIC at the top, so the row names need to reflect the
If the object name is sufficiently explanatory -- eg. point.est.hazardRate
-- then the deparsed argument value is fine as row name. But we need the
option to be more specific if necessary, eg. with "halfNormal=x1,
hazardRate=x2". Just like 'rbind', in fact.
View this message in context: http://www.nabble.com/Getting-names-of-objects-passed-with-%22...%22-tf3850318.html#a10910245
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help