Posts by Luiz Augusto Magalhães • 31 points
1 post
-
3
votes2
answers129
viewsQ: Loop Operation with Multiple Data Frames
Assuming the following example in R: Sample_data <- data.table(code = c("AAPL","AAPL","AAPL", "AMZN","AMZN","AMZN", "MSFT","MSFT", "GOOG","GOOG","GOOG", "FB"), date =…