I have an object, res_list, that contains data that I would like to extract using a function.
res_list$ has the following possibilities: Cearly,Rearly,Clate,Rlate,Cfollow,Rfollow.
I want to create a function to extract data from all the different res_list$ possibilities, in an iterative manner, by utilising the 'name' of data objects I have already created in R
The names of these objects are as follows:
signi_BTM_Cearly2
signi_BTM_Clate2
.
.
.
signi_BTM_Rfollow2
Basically, I just want to tell the function I am creating to take only the "Cearly", "Clate",..."Rfollow" part of the table names. So I can retrieve the data that I need.
I know its a very simple task, I just can't figure it out.
Thank you all for your time,
{}button and try to select any one of the answer as correct answer to complete any thread, cheers and happy learning.