search for: do_analysi

Displaying 2 results from an estimated 2 matches for "do_analysi".

Did you mean: do_analysis
2011 Nov 01
1
Nested lapply? Is this allowed?
...all to the notion of lapply (or any other variance). My problem is that this data set should also be created from another lapply As for example   DataToAnalyse <- return_selected_time_interval(TimeStamps,Time[[1]], Time[[2]])  # Where Time[[1]] and Time[[2]] are lists    return(lapply(do_analysis(DataToAnalyse)))   as you can see the DataToAnalyse should be also an lapply. For the list of give Time (Time[[1]] and Time[[2]]) should create a list DataToAnalyse. My concern though is that the DataToAnalyse for all the Time is huge so I was looking for something memory efficient t...
2011 Nov 08
1
skip on error
...tasource,analysis_for_one_data_source) lapply(TimeFrames,analysis_for_one_data_source_and_one_time_frame) as you can imagine there are times where the second lapply will "explode" analysis_for_one_data_source_and_one_time_frame<- function( DataSource, TimeFrame,) {         return( do_analysis(DataSource,TimeFrame))         } as you can understand this will return an error for a given Datasource that does not have a timestamp. I was looking though if I can ask from R to handle the error by continuing to the next one. So the lapply that returns and error can for example to store the er...