Skip to content

Commit

Permalink
fixing tables
Browse files Browse the repository at this point in the history
  • Loading branch information
afredston committed Apr 27, 2023
1 parent a0e02c3 commit 89a086c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions MHW_stats_and_figures_supplement.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,6 @@ rownames.altmhw <- c('Model formula','Intercept', 'MHW coefficient',"Coefficient
alt.tbl <- data.frame(rbind(formulas.altmhw, int.altmhw, coef.altmhw, p.altmhw, r2.altmhw, aic.altmhw, df.altmhw), row.names=rownames.altmhw)
colnames(alt.tbl) <- colnames.altmhw
"Models of biomass log ratio (LR) response to MHW cumulative intensity in °C-days (MHW CInt). MHW CInt was calculated from the detrended GLORYS sea bottom temperature data with a five-day minimum duration threshold for MHWs, as used in the main text. Model names correspond to: null (intercept-only) model, linear model, linear model including survey as a fixed effect, generalized additive model (GAM), and GAM including survey as a random effect. * denotes variables that were scaled and centered within surveys and s() denotes a GAM smoother."
kbl(alt.tbl, booktabs = TRUE, caption = "Models of biomass log ratio (LR) response to MHW cumulative intensity in °C-days (MHW CInt). MHW CInt was calculated from the detrended GLORYS sea bottom temperature data with a five-day minimum duration threshold for MHWs, as used in the main text. Model names correspond to: null (intercept-only) model, linear model, linear model including survey as a fixed effect, generalized additive model (GAM), and GAM including survey as a random effect. * denotes variables that were scaled and centered within surveys, ** denotes variables that were scaled and centered across surveys, and s() denotes a GAM smoother. This table is identical to Supp. Tab. 2, except rather than centering and scaling MHW CInt within regions, it is centered and scaled across regions. The approach used in most of our analysis (centering and scaling MHW CInt within regions) assumes that history matters in ecological responses to MHW responses, i.e., that biomass change should be compared to how anomalous a MHW is relative to other MHWs that occurred in the region. Here, we test the hypothesis that absolute MHW CInt matters regardless of the oceanographic history of each region by centering and scaling MHW CInt across regions.",
escape = FALSE) %>%
kable_styling(font_size = 8, latex_options = c("striped"))
Expand Down

0 comments on commit 89a086c

Please sign in to comment.