Skip to content

Commit

Permalink
finalized changes for pub, committed long after they were made
Browse files Browse the repository at this point in the history
  • Loading branch information
bcjaeger committed Feb 9, 2024
1 parent a7e528b commit 360e42a
Show file tree
Hide file tree
Showing 45 changed files with 2,323 additions and 15 deletions.
15 changes: 15 additions & 0 deletions paper/figs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "manuscript-figs"
output:
html_document:
keep_md: true
date: "2023-03-09"
---




```{=html}
<div class="plotly html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-5e14113ab9e013a1dfb9" style="width:3150px;height:1125px;"></div>
<script type="application/json" data-for="htmlwidget-5e14113ab9e013a1dfb9">{"x":{"visdat":{"72882a98636c":["function () ","plotlyVisDat"]},"cur_data":"72882a98636c","attrs":{"72882a98636c":{"alpha_stroke":1,"sizes":[10,100],"spans":[1,20],"type":"scatter","mode":"markers","marker":{"size":25},"size":1,"x":[1,2,3,4,5,6,7,8,9,10],"y":[122.779892307137,122.494094379263,122.681379791568,122.257853049683,121.542115297844,120.487861168997,121.612408052883,121.426539097352,123.355854014555,123.129716403528],"error_y":{"symmetric":false,"arrayminus":[1.41760442790411,0.906518067628653,0.946169024922938,0.911394082724073,0.740853877005819,0.942646862214147,1.26697176403566,0.626964250226308,0.904165445501093,0.727029714789481],"array":[1.41760442790411,0.906518067628653,0.946169024922938,0.911394082724073,0.740853877005819,0.942646862214147,1.26697176403566,0.626964250226308,0.904165445501093,0.727029714789481]},"name":"1","hoverinfo":"text","hovertext":["Mean: 123 (95% CI 121, 124)","Mean: 122 (95% CI 122, 123)","Mean: 123 (95% CI 122, 124)","Mean: 122 (95% CI 121, 123)","Mean: 122 (95% CI 121, 122)","Mean: 120 (95% CI 120, 121)","Mean: 122 (95% CI 120, 123)","Mean: 121 (95% CI 121, 122)","Mean: 123 (95% CI 122, 124)","Mean: 123 (95% CI 122, 124)"],"inherit":true}},"layout":{"margin":{"b":100,"l":50,"t":100,"r":50},"title":{"text":"Systolic blood pressure (SBP), mm Hg<br>","x":0.5},"font":{"size":40},"xaxis":{"domain":[0,1],"automargin":true,"showgrid":false,"showline":true,"tickvals":[1,2,3,4,5,6,7,8,9,10],"ticktext":["1999-2000","2001-2002","2003-2004","2005-2006","2007-2008","2009-2010","2011-2012","2013-2014","2015-2016","2017-2020"],"tickmode":"array","title":"NHANES cycle"},"yaxis":{"domain":[0,1],"automargin":true,"showgrid":false,"showline":true,"ticks":"outside","title":"Systolic blood pressure (SBP), mm Hg"},"hovermode":"closest","showlegend":false},"source":"A","config":{"modeBarButtonsToAdd":["hoverclosest","hovercompare"],"showSendToCloud":false},"data":[{"type":"scatter","mode":"markers","marker":{"color":"rgba(31,119,180,1)","size":25,"sizemode":"area","line":{"color":"rgba(31,119,180,1)"}},"x":[1,2,3,4,5,6,7,8,9,10],"y":[122.779892307137,122.494094379263,122.681379791568,122.257853049683,121.542115297844,120.487861168997,121.612408052883,121.426539097352,123.355854014555,123.129716403528],"error_y":{"color":"rgba(31,119,180,1)","width":55,"symmetric":false,"arrayminus":[1.41760442790411,0.906518067628653,0.946169024922938,0.911394082724073,0.740853877005819,0.942646862214147,1.26697176403566,0.626964250226308,0.904165445501093,0.727029714789481],"array":[1.41760442790411,0.906518067628653,0.946169024922938,0.911394082724073,0.740853877005819,0.942646862214147,1.26697176403566,0.626964250226308,0.904165445501093,0.727029714789481]},"name":"1","hoverinfo":["text","text","text","text","text","text","text","text","text","text"],"hovertext":["Mean: 123 (95% CI 121, 124)","Mean: 122 (95% CI 122, 123)","Mean: 123 (95% CI 122, 124)","Mean: 122 (95% CI 121, 123)","Mean: 122 (95% CI 121, 122)","Mean: 120 (95% CI 120, 121)","Mean: 122 (95% CI 120, 123)","Mean: 121 (95% CI 121, 122)","Mean: 123 (95% CI 122, 124)","Mean: 123 (95% CI 122, 124)"],"textfont":{"size":55},"error_x":{"color":"rgba(31,119,180,1)","width":55},"line":{"color":"rgba(31,119,180,1)","width":55},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
```
2,293 changes: 2,293 additions & 0 deletions paper/graphical_abstract.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions paper/manuscript.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ tbl_main_2_flex

### Figure 1: Mean systolic blood pressure for US adults by calendar year

```{r, fig.height=3.75}
```{r fig_1, fig.height=3.75}
fig_print(fig_main_1)
Expand All @@ -680,7 +680,7 @@ Dots represent mean systolic blood pressure. Vertical lines represent the 95% co

### Figure 2: Age-adjusted prevalence of hypertension for US adults by calendar year

```{r, fig.height=3.75}
```{r fig_2, fig.height=3.75}
fig_print(fig_main_2)
Expand All @@ -695,7 +695,7 @@ Age adjustment was performed through direct standardization, using the estimated

### Figure 3: Number of US adults with hypertension by calendar year

```{r}
```{r fig_3}
fig_print(fig_main_3)
Expand All @@ -711,7 +711,7 @@ fig_print(fig_main_3)
### Figure 4: Age-adjusted prevalence of blood pressure control by calendar year.

A. Among non-pregnant US adults with hypertension `r single_par`
```{r, fig.height=3.75}
```{r fig_4a, fig.height=3.75}
fig_print(fig_main_4_a)
Expand All @@ -727,7 +727,7 @@ Participants with missing values for pregnancy status were assumed to be non-pre
\newpage

B. Among non-pregnant US adults who self-report taking antihypertensive medication `r single_par`
```{r, fig.height=3.75}
```{r fig_4b, fig.height=3.75}
fig_print(fig_main_4_b)
```
Age adjustment was performed through direct standardization, using the estimated age distribution of US adults with hypertension from 1999 to 2020 as the standard (26.4%, 43.4%, 17.0% and 13.2% being 18 to 44 years, 45 to 64, 65 to 74, and ≥ 75 years of age, respectively) `r single_par`
Expand Down
Binary file modified paper/manuscript.docx
Binary file not shown.
Loading

0 comments on commit 360e42a

Please sign in to comment.