# NOT RUN {
#loading up an example dataset from the multiplestressR package
df <- multiplestressR::survival
#calculating effect sizes
df <- effect_size_additive(Control_N = df$Sample_Size_Control,
Control_SD = df$Standard_Deviation_Control,
Control_Mean = df$Mean_Control,
StressorA_N = df$Sample_Size_Temperature,
StressorA_SD = df$Standard_Deviation_Temperature,
StressorA_Mean = df$Mean_Temperature,
StressorB_N = df$Sample_Size_pH,
StressorB_SD = df$Standard_Deviation_pH,
StressorB_Mean = df$Mean_pH,
StressorsAB_N = df$Sample_Size_Temperature_pH,
StressorsAB_SD = df$Standard_Deviation_Temperature_pH,
StressorsAB_Mean = df$Mean_Temperature_pH,
Significance_Level = 0.05);
#classifying interactions
df <- classify_interactions(effect_size_dataframe = df,
assign_reversals = TRUE,
remove_directionality = TRUE)
# }
Run the code above in your browser using DataLab