I am not entirely sure what you're hoping to do, but it you want to iterate over items (in this case matrices) in a list to convert them to data frames, this should do it:
lapply(nested_list, as.data.frame)
This will return a list of data frames, rather than a list of matrices. Hope this helps.
Hi,
Sorry about the confusion. I would like to have 3 data frames separately.
I want to convert each of them to a separate dataframe. So in the end, I will have three dataframes (dataframe1 coming from list[[1]], dataframe2 coming from list[[2]] and dataframe3 coming from list[[3]]).
I need these different dataframes for different downstream analysis.