Last updated: 2022-01-08

Checks: 6 1

Knit directory: HairManikin_manuscript/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20211024) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 0a50ef7. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .RData
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    analysis/figure/
    Ignored:    data/.DS_Store
    Ignored:    data/.Rhistory
    Ignored:    data/current/.DS_Store
    Ignored:    data/raw_manikin_output/.DS_Store

Untracked files:
    Untracked:  output/plt_drywet_scatter_zeroline30C.png
    Untracked:  output/plt_heat30_evap_rad.png
    Untracked:  output/plt_influx30C.png

Unstaged changes:
    Modified:   analysis/analysis.Rmd
    Modified:   analysis/experimental-set-up.Rmd
    Modified:   data/current/ManikinData_WetDry.csv

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/analysis.Rmd) and HTML (docs/analysis.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 0a50ef7 Tina Lasisi 2022-01-07 Adding main analysis file

1 Summary plots

1.1 Heat loss (30C)

Below we plot the heat loss for 30C (see Figure (@fig:plt-drywet-scatter30C)).

Comparison of dry heat loss and wet heat loss (dry + evaporative) for various head coverings at three wind speeds with radiation on and off at 30C. Solid line represents x=y and dashed lines represent 0 intercept for each axis.

Comparison of dry heat loss and wet heat loss (dry + evaporative) for various head coverings at three wind speeds with radiation on and off at 30C. Solid line represents x=y and dashed lines represent 0 intercept for each axis.

1.2 Solar Influx

Below, we plot the same net heat loss as a function of wind speed. Similarly, we see that, in the dry experiments, there is a very clear effect of wig type and no hair, while the wet experiments show a much more pronounced effect of windspeed (see Figure @ref(fig:plt-influx30C)).

Solar influx as a function of wind speed

Solar influx as a function of wind speed

2 Effect of radiation and evaporation (30C)

Here are plots for the total heat losses recalculated for an ambient temperature of \(30^\circ C\).

What becomes apparent now is that there is a substantial heat gain in the dry condition once solar radiation is added (bottom left). In both wet conditions and without the effect of radiation, the absence of hair clearly associates with higher heat loss see Figure @ref(fig:plt-heat30C)).

Heat loss with radiation off/on (top to bottom) and in dry and wet conditions (left to right) calculated for ambient temperature of 30C. Dashed line represents y=0.

Heat loss with radiation off/on (top to bottom) and in dry and wet conditions (left to right) calculated for ambient temperature of 30C. Dashed line represents y=0.

3 Individual plots

3.1 Solar influx

Calculating solar influx per trial

3.2 Estimating dry heat loss at 30C


R version 4.1.2 (2021-11-01)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] ggstatsplot_0.9.0 fs_1.5.0          kableExtra_1.3.4  knitr_1.36       
 [5] forcats_0.5.1     stringr_1.4.0     dplyr_1.0.7       purrr_0.3.4      
 [9] readr_2.0.2       tidyr_1.1.4       tibble_3.1.5      ggplot2_3.3.5    
[13] tidyverse_1.3.1   workflowr_1.6.2  

loaded via a namespace (and not attached):
 [1] bit64_4.0.5            lubridate_1.8.0        RColorBrewer_1.1-2    
 [4] insight_0.14.5         webshot_0.5.2          httr_1.4.2            
 [7] rprojroot_2.0.2        tools_4.1.2            backports_1.2.1       
[10] utf8_1.2.2             R6_2.5.1               statsExpressions_1.2.0
[13] DBI_1.1.1              colorspace_2.0-2       withr_2.4.2           
[16] tidyselect_1.1.1       bit_4.0.4              compiler_4.1.2        
[19] git2r_0.28.0           performance_0.8.0      cli_3.1.0             
[22] rvest_1.0.2            xml2_1.3.2             labeling_0.4.2        
[25] bayestestR_0.11.5      BWStest_0.2.2          scales_1.1.1          
[28] mvtnorm_1.1-3          mc2d_0.1-21            multcompView_0.1-8    
[31] systemfonts_1.0.3      digest_0.6.28          rmarkdown_2.11        
[34] svglite_2.0.0          WRS2_1.1-3             pkgconfig_2.0.3       
[37] htmltools_0.5.2        highr_0.9              dbplyr_2.1.1          
[40] fastmap_1.1.0          rlang_0.4.12           readxl_1.3.1          
[43] rstudioapi_0.13        SuppDists_1.1-9.5      farver_2.1.0          
[46] jquerylib_0.1.4        generics_0.1.0         jsonlite_1.7.2        
[49] vroom_1.5.5            magrittr_2.0.1         patchwork_1.1.1       
[52] parameters_0.15.0      Rcpp_1.0.7             munsell_0.5.0         
[55] fansi_0.5.0            lifecycle_1.0.1        stringi_1.7.5         
[58] whisker_0.4            yaml_2.2.1             MASS_7.3-54           
[61] plyr_1.8.6             paletteer_1.4.0        grid_4.1.2            
[64] parallel_4.1.2         promises_1.2.0.1       crayon_1.4.1          
[67] PMCMRplus_1.9.3        haven_2.4.3            hms_1.1.1             
[70] zeallot_0.1.0          pillar_1.6.4           kSamples_1.2-9        
[73] reprex_2.0.1           glue_1.4.2             evaluate_0.14         
[76] modelr_0.1.8           vctrs_0.3.8            tzdb_0.1.2            
[79] httpuv_1.6.3           cellranger_1.1.0       gtable_0.3.0          
[82] rematch2_2.1.2         reshape_0.8.8          assertthat_0.2.1      
[85] datawizard_0.2.1       cachem_1.0.6           xfun_0.27             
[88] correlation_0.7.1      broom_0.7.9            Rmpfr_0.8-7           
[91] later_1.3.0            viridisLite_0.4.0      memoise_2.0.0         
[94] gmp_0.6-2.1            ellipsis_0.3.2