From 296777a891a13df19052564f69c98325e9a0f50d Mon Sep 17 00:00:00 2001 From: Loïc Guégan Date: Tue, 23 Sep 2025 13:43:11 +0200 Subject: Cleaning --- analysis/offline.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'analysis/offline.R') diff --git a/analysis/offline.R b/analysis/offline.R index 2b21bea..4dc991e 100644 --- a/analysis/offline.R +++ b/analysis/offline.R @@ -26,7 +26,7 @@ nsimkey=4 nsimulations=nseed*nwakeupfor*nwireless*nsimkey # Must be 3200 ## Load data -data=suppressMessages(read_csv("../CCGRID2022.csv"))%>%distinct() # Note that in the data experiment wireless=="lora",seed==1,wakeupfor==60,simkey=="baseline" is present 2 times in the CSV file +data=suppressMessages(read_csv("../simulations/results/analysis/CCGRID2022.csv"))%>%distinct() # Note that in the data experiment wireless=="lora",seed==1,wakeupfor==60,simkey=="baseline" is present 2 times in the CSV file data_seed=data%>%group_by(simkey,wireless,wakeupfor,seed)%>%summarize(energy=sum(energy),coverage=sum(nDataRcv))%>% mutate(efficiency=energy/coverage)%>% ungroup() -- cgit v1.2.3