This would return a vector the names of objects whose names begin with
"fund":
ls()[grep("^fund", ls())]
I'm such a grep-noob that I don't know off the top of my head what the
pattern should be to restrict it to only those objects with digits in
the next position.
Perhaps:
do.call( "rbin
On 11/02/2009 05:04 PM, Steven Kang wrote:
Dear R users,
I wish to utilise processed and saved objects as arguments of a function.
Specifically, I have created objects using *"assign"*& *"paste"* functions
with an incremental index i, the names of the objects are:
fund1, fund2, fund3,...
Dear R users,
I wish to utilise processed and saved objects as arguments of a function.
Specifically, I have created objects using *"assign"* & *"paste"* functions
with an incremental index i, the names of the objects are:
fund1, fund2, fund3,., fund80,. (where the numerical value
in
3 matches
Mail list logo