6  Rapid analysis of ecophysiological data

Code
# Pkg -----

#package
library(ggplot2)
library(plotly)
library(readxl)
library(tidyverse)
library(car) 
library(Rmisc) 
library(multcomp) 
library(lubridate)
library(dplyr)
library(scales)
library(hms)
library(tictoc)
library(multcompView)
library(gridExtra)
library(kableExtra)
library(cowplot)
library(kableExtra)
library(ggpubr)
library(labelled)
library(gtsummary)
library(ggstats)
library(performance)
library(inspectdf)
library(patchwork)
library(gridExtra)
library(ggpubr)
library(foreach)
library(parallel)
library(MASS)
library(rstatix)

#function
source(here::here("src/function/stat_function/stat_analysis_main.R")) # for make plot 
source(here::here("src/function/graph_function.R"))
set.seed(1)

# cosmetics
climate_pallet=read_excel(here::here("data/color_palette.xlsm")) %>%
      filter(set == "climat_condition") %>%
      dplyr::select(color, treatment) %>%
      pull(color) %>%
      setNames(read_excel(here::here("data/color_palette.xlsm")) %>%
                 filter(set == "climat_condition") %>%
                 pull(treatment)
               )