From 9e2394201e8d276c20a770ce65cfc3bd3eac60c1 Mon Sep 17 00:00:00 2001 From: "louis.heraut" <louis.heraut@inrae.fr> Date: Mon, 10 Jan 2022 21:23:01 +0100 Subject: [PATCH] Cleaned and commented --- plotting/matrix.R | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plotting/matrix.R b/plotting/matrix.R index 8479beb..16750b9 100644 --- a/plotting/matrix.R +++ b/plotting/matrix.R @@ -288,12 +288,10 @@ matrix_panel = function (list_df2plot, df_meta, trend_period, mean_period, slice df_data_code[df_data_code$Date >= Start_mean & df_data_code$Date <= End_mean,] - # Min for the sub period + # Min max for the sub period Datemin = min(df_data_code_per$Date) - - # Max for the sub period Datemax = max(df_data_code_per$Date) - + # Creates a period name Periods = paste(Datemin, Datemax, sep=' / ') -- GitLab