Skip to content

Commit

Permalink
Minor text updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah-McKay committed Jul 16, 2024
1 parent 55747ac commit 6aea1aa
Show file tree
Hide file tree
Showing 20 changed files with 24 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .Rproj.user/50F23ADB/pcs/workbench-pane.pper
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"TabSet1": 3,
"TabSet2": 4,
"TabSet2": 0,
"TabZoom": {}
}
4 changes: 2 additions & 2 deletions .Rproj.user/50F23ADB/sources/prop/A6F24A12
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"tempName": "Untitled5",
"source_window_id": "",
"Source": "Source",
"cursorPosition": "112,0",
"scrollLine": "89",
"cursorPosition": "47,968",
"scrollLine": "41",
"docOutlineVisible": "1",
"rmdVisualWrapConfigured": "true",
"rmdVisualModeLocation": "14212:7175.5",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"chunk_definitions":[{"row":32,"row_count":1,"visible":true,"expansion_state":0,"options":{"layout-ncol":3,"engine":"r","label":"unnamed-chunk-14"},"document_id":"82825633","chunk_id":"cyhg6ongczhg9","chunk_label":"unnamed-chunk-1"},{"row":45,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-15"},"document_id":"82825633","chunk_id":"c9ilh23s7moqg","chunk_label":"unnamed-chunk-2"},{"row":86,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-16"},"document_id":"4D01E7C4","chunk_id":"cqpbkwg7dr31u","chunk_label":"unnamed-chunk-3"},{"row":113,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-17"},"document_id":"1B773657","chunk_id":"c1tuzdvsb6k86","chunk_label":"unnamed-chunk-4"},{"row":118,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-18"},"document_id":"1B773657","chunk_id":"cjwxzfwesjeu6","chunk_label":"unnamed-chunk-5"},{"row":157,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-21"},"document_id":"4D01E7C4","chunk_id":"caq7m9chg4of5","chunk_label":"unnamed-chunk-8"},{"row":192,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-22"},"document_id":"4D01E7C4","chunk_id":"cmnb960zs71u6","chunk_label":"unnamed-chunk-9"},{"row":239,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-24"},"document_id":"4D01E7C4","chunk_id":"c3egym1evs9wi","chunk_label":"unnamed-chunk-11"},{"row":260,"row_count":1,"visible":true,"expansion_state":0,"options":{"layout-ncol":4,"engine":"r","label":"unnamed-chunk-25"},"document_id":"4D01E7C4","chunk_id":"cs1bas56bubpg","chunk_label":"unnamed-chunk-12"},{"row":273,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-26"},"document_id":"4D01E7C4","chunk_id":"ctiznxxw3old8","chunk_label":"unnamed-chunk-13"},{"row":289,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-27"},"document_id":"4D01E7C4","chunk_id":"ckbi4oj0vi1pb","chunk_label":"unnamed-chunk-14"},{"row":299,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-28"},"document_id":"4D01E7C4","chunk_id":"cpden4ty7k6k0","chunk_label":"unnamed-chunk-15"},{"row":306,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-29"},"document_id":"4D01E7C4","chunk_id":"c84hye5ku0uvy","chunk_label":"unnamed-chunk-16"},{"row":338,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-30"},"document_id":"4D01E7C4","chunk_id":"cbtyzdp65665q","chunk_label":"unnamed-chunk-17"},{"row":368,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-31"},"document_id":"4D01E7C4","chunk_id":"cjj7448ief7xp","chunk_label":"unnamed-chunk-18"},{"row":386,"row_count":1,"visible":true,"expansion_state":0,"options":{"echo":false,"output":false,"eval":true,"engine":"r","label":"unnamed-chunk-32"},"document_id":"4D01E7C4","chunk_id":"cawi7f14gzsag","chunk_label":"unnamed-chunk-19"}],"doc_write_time":1721073422,"chunk_rendered_width":700}
{"chunk_definitions":[{"row":32,"row_count":1,"visible":true,"expansion_state":0,"options":{"layout-ncol":3,"engine":"r","label":"unnamed-chunk-14"},"document_id":"82825633","chunk_id":"cyhg6ongczhg9","chunk_label":"unnamed-chunk-1"},{"row":45,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-15"},"document_id":"82825633","chunk_id":"c9ilh23s7moqg","chunk_label":"unnamed-chunk-2"},{"row":86,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-16"},"document_id":"4D01E7C4","chunk_id":"cqpbkwg7dr31u","chunk_label":"unnamed-chunk-3"},{"row":113,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-17"},"document_id":"1B773657","chunk_id":"c1tuzdvsb6k86","chunk_label":"unnamed-chunk-4"},{"row":118,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-18"},"document_id":"1B773657","chunk_id":"cjwxzfwesjeu6","chunk_label":"unnamed-chunk-5"},{"row":157,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-21"},"document_id":"4D01E7C4","chunk_id":"caq7m9chg4of5","chunk_label":"unnamed-chunk-8"},{"row":192,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-22"},"document_id":"4D01E7C4","chunk_id":"cmnb960zs71u6","chunk_label":"unnamed-chunk-9"},{"row":239,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-24"},"document_id":"4D01E7C4","chunk_id":"c3egym1evs9wi","chunk_label":"unnamed-chunk-11"},{"row":260,"row_count":1,"visible":true,"expansion_state":0,"options":{"layout-ncol":4,"engine":"r","label":"unnamed-chunk-25"},"document_id":"4D01E7C4","chunk_id":"cs1bas56bubpg","chunk_label":"unnamed-chunk-12"},{"row":273,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-26"},"document_id":"4D01E7C4","chunk_id":"ctiznxxw3old8","chunk_label":"unnamed-chunk-13"},{"row":289,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-27"},"document_id":"4D01E7C4","chunk_id":"ckbi4oj0vi1pb","chunk_label":"unnamed-chunk-14"},{"row":299,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-28"},"document_id":"4D01E7C4","chunk_id":"cpden4ty7k6k0","chunk_label":"unnamed-chunk-15"},{"row":306,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-29"},"document_id":"4D01E7C4","chunk_id":"c84hye5ku0uvy","chunk_label":"unnamed-chunk-16"},{"row":338,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-30"},"document_id":"4D01E7C4","chunk_id":"cbtyzdp65665q","chunk_label":"unnamed-chunk-17"},{"row":368,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-31"},"document_id":"4D01E7C4","chunk_id":"cjj7448ief7xp","chunk_label":"unnamed-chunk-18"},{"row":386,"row_count":1,"visible":true,"expansion_state":0,"options":{"echo":false,"output":false,"eval":true,"engine":"r","label":"unnamed-chunk-32"},"document_id":"4D01E7C4","chunk_id":"cawi7f14gzsag","chunk_label":"unnamed-chunk-19"}],"doc_write_time":1721149913}
2 changes: 0 additions & 2 deletions .Rproj.user/shared/notebooks/paths
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/Users/Hannah/Documents/Rethink_Priorities/Shrimp/R_analyses/presentation/Shrimp_presentation_graphs.R="EE9A6507"
/Users/Hannah/Documents/Rethink_Priorities/Shrimp/R_analyses/preslaughter_mortality/shrimp_pre-slaughter_mortality/chapters/lit_review.qmd="3914F971"
/Users/Hannah/Documents/Rethink_Priorities/Shrimp/R_analyses/preslaughter_mortality/shrimp_pre-slaughter_mortality/chapters/survival_curves.qmd="FB20E5EC"
/Users/Hannah/Documents/Rethink_Priorities/Shrimp/R_analyses/quantifying_welfare_threats/_quarto.yml="E5736DCC"
/Users/Hannah/Documents/Rethink_Priorities/Shrimp/R_analyses/quantifying_welfare_threats/chapters/_functions_data.qmd="FBD0EC66"
/Users/Hannah/Documents/Rethink_Priorities/Shrimp/R_analyses/quantifying_welfare_threats/chapters/feed_management.qmd="5ACB935B"
Expand Down
4 changes: 2 additions & 2 deletions .quarto/_freeze/chapters/health/execute-results/html.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .quarto/cites/index.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"chapters/harvest_slaughter.qmd":[],"chapters/water_quality.qmd":[],"chapters/set-up.qmd":[],"index.qmd":[],"chapters/transportation.qmd":[],"chapters/health.qmd":[],"chapters/pond_habitat.qmd":[],"chapters/feed_management.qmd":[],"chapters/results.qmd":[]}
{"index.qmd":[],"chapters/harvest_slaughter.qmd":[],"chapters/feed_management.qmd":[],"chapters/set-up.qmd":[],"chapters/results.qmd":[],"chapters/health.qmd":[],"chapters/pond_habitat.qmd":[],"chapters/transportation.qmd":[],"chapters/water_quality.qmd":[]}
2 changes: 1 addition & 1 deletion .quarto/idx/chapters/health.qmd.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .quarto/xref/011bfa6c
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[],"headings":["high-density","prevalence","pain-tracks","lack-of-substrate","prevalence-1","pain-tracks-1","predators","prevalence-2","pain-tracks-2"],"options":{"chapters":true}}
{"headings":["high-density","prevalence","pain-tracks","lack-of-substrate","prevalence-1","pain-tracks-1","predators","prevalence-2","pain-tracks-2"],"options":{"chapters":true},"entries":[]}
2 changes: 1 addition & 1 deletion .quarto/xref/09793c97
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[],"options":{"chapters":true},"headings":["preface"]}
{"headings":["preface"],"entries":[],"options":{"chapters":true}}
2 changes: 1 addition & 1 deletion .quarto/xref/11f527ad
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[],"headings":["malnutrition","prevalence","pain-tracks","hunger","prevalence-1","pain-tracks-1"],"options":{"chapters":true}}
{"headings":["malnutrition","prevalence","pain-tracks","hunger","prevalence-1","pain-tracks-1"],"options":{"chapters":true},"entries":[]}
2 changes: 1 addition & 1 deletion .quarto/xref/5ab3bb69
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[{"key":"sec-waterless","caption":"Waterless transport","order":{"number":1,"section":[6,0,0,0,0,0,0]}}],"headings":["sec-waterless","prevalence","pain-tracks","water-based-transport","prevalence-1","pain-tracks-1"],"options":{"chapters":true}}
{"entries":[{"order":{"number":1,"section":[6,0,0,0,0,0,0]},"caption":"Waterless transport","key":"sec-waterless"}],"headings":["sec-waterless","prevalence","pain-tracks","water-based-transport","prevalence-1","pain-tracks-1"],"options":{"chapters":true}}
2 changes: 1 addition & 1 deletion .quarto/xref/5eb2fe20
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"options":{"chapters":true},"headings":[],"entries":[]}
{"headings":[],"options":{"chapters":true},"entries":[]}
2 changes: 1 addition & 1 deletion .quarto/xref/6ac6228a
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"options":{"chapters":true},"entries":[],"headings":["harvest","prevalence","pain-tracks","slaughter","prevalence-1","pain-tracks-1"]}
{"entries":[],"options":{"chapters":true},"headings":["harvest","prevalence","pain-tracks","slaughter","prevalence-1","pain-tracks-1"]}
2 changes: 1 addition & 1 deletion .quarto/xref/aaacb014
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"headings":["prevalence","duration-pre-slaughter-mortality","sec-shrimpnumbers","days-lived-by-life-stage","mortality-rates-by-life-stage","sec-preslaughtmort","intensity"],"options":{"chapters":true},"entries":[{"order":{"section":[2,1,0,0,0,0,0],"number":1},"key":"sec-shrimpnumbers","caption":"Number of shrimp dying on farms"},{"order":{"section":[2,4,0,0,0,0,0],"number":2},"key":"sec-preslaughtmort","caption":"Calculating pre-slaughter mortality rates"}]}
{"headings":["prevalence","duration-pre-slaughter-mortality","sec-shrimpnumbers","days-lived-by-life-stage","mortality-rates-by-life-stage","sec-preslaughtmort","intensity"],"entries":[{"order":{"number":1,"section":[2,1,0,0,0,0,0]},"key":"sec-shrimpnumbers","caption":"Number of shrimp dying on farms"},{"order":{"number":2,"section":[2,4,0,0,0,0,0]},"key":"sec-preslaughtmort","caption":"Calculating pre-slaughter mortality rates"}],"options":{"chapters":true}}
2 changes: 1 addition & 1 deletion .quarto/xref/de7883c7
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"headings":["eyestalk-ablation","prevalence","pain-tracks","biosecurity-failures","prevalence-1","pain-tracks-1"],"entries":[],"options":{"chapters":true}}
{"headings":["eyestalk-ablation","prevalence","pain-tracks","biosecurity-failures","prevalence-1","pain-tracks-1"],"options":{"chapters":true},"entries":[]}
2 changes: 1 addition & 1 deletion .quarto/xref/de90cd76
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[],"options":{"chapters":true},"headings":["low-dissolved-oxygen","prevalence","pain-tracks","high-temperature","prevalence-1","pain-tracks-1","low-temperature","prevalence-2","pain-tracks-2","low-salinity","prevalence-3","pain-tracks-3","nonoptimal-ph","prevalence-4","pain-tracks-4","high-un-ionized-ammonia","prevalence-5","pain-tracks-5","pollutants","prevalence-6","pain-tracks-6"]}
{"options":{"chapters":true},"headings":["low-dissolved-oxygen","prevalence","pain-tracks","high-temperature","prevalence-1","pain-tracks-1","low-temperature","prevalence-2","pain-tracks-2","low-salinity","prevalence-3","pain-tracks-3","nonoptimal-ph","prevalence-4","pain-tracks-4","high-un-ionized-ammonia","prevalence-5","pain-tracks-5","pollutants","prevalence-6","pain-tracks-6"],"entries":[]}
4 changes: 2 additions & 2 deletions chapters/health.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ colnames(prev_ablation_dist)<-prev_ablation_stat$FarmType
prev_ablation_unadjusted<-as.data.frame(prev_ablation_dist)
```

We also need to adjust for the fact that only female broodstock are subjected to eyestalk ablation, not their offspring who are actually raised for food. We calculate the number of broodstock by using the total number of shrimp that die on farms *from the postlarval stage onward* (from [Waldhorn & Autric's 2023](http://doi.org/10.31219/osf.io/b8n3t) Guesstimate model), divided by the number of eggs different species lay per spawn, and assuming only half the eggs hatch.
We also need to adjust for the fact that only female broodstock are subjected to eyestalk ablation, not their offspring who are actually raised for food. We calculate the number of broodstock by using the total number of shrimp that die on farms (from [Waldhorn & Autric's 2023](http://doi.org/10.31219/osf.io/b8n3t) Guesstimate model), divided by the number of eggs different species lay per spawn, and assuming only half the eggs hatch. The denominator in this equation represents how many shrimp that die on farms each broodstock is responsible for hatching. We will then represent the number of female broodstock as a proportion of the number of shrimp that die on farms *from the postlarval stage onward* (as this is the ongrowing stage). We do so because other threats are evaluated for the harms they cause in the ongrowing stage only, so we must weight the eyestalk ablation prevalence by the proportion of shrimp that are broodstock from only this population.

See [set up chapter](set-up.qmd) for how the variables used here were calculated. First, we must calculate the number of shrimp that die on farms from the postlarval stage onward. We do so because other threats are evaluated for the harms they cause in the ongrowing stage only, so we must calculate the proportion of shrimp that are broodstock against only this population. We do so handling the data in the same way as the Set-up chapter, using the `kde1d` function to generate 100,000 samples.
See [set up chapter](set-up.qmd) for how the variables used here were calculated. First, we calculate the number of shrimp that die on farms from the postlarval stage onward. We do so handling the data in the same way as the Set-up chapter, using the `kde1d` function to generate 100,000 samples.

```{r}
library(kde1d) # load the required package
Expand Down
4 changes: 2 additions & 2 deletions docs/chapters/health.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ <h2 class="anchored" data-anchor-id="prevalence">Prevalence</h2>
<span id="cb5-7"><a href="#cb5-7" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb5-8"><a href="#cb5-8" aria-hidden="true" tabindex="-1"></a>prev_ablation_unadjusted<span class="ot">&lt;-</span><span class="fu">as.data.frame</span>(prev_ablation_dist)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
<p>We also need to adjust for the fact that only female broodstock are subjected to eyestalk ablation, not their offspring who are actually raised for food. We calculate the number of broodstock by using the total number of shrimp that die on farms <em>from the postlarval stage onward</em> (from <a href="http://doi.org/10.31219/osf.io/b8n3t">Waldhorn &amp; Autric’s 2023</a> Guesstimate model), divided by the number of eggs different species lay per spawn, and assuming only half the eggs hatch.</p>
<p>See <a href="../chapters/set-up.html">set up chapter</a> for how the variables used here were calculated. First, we must calculate the number of shrimp that die on farms from the postlarval stage onward. We do so because other threats are evaluated for the harms they cause in the ongrowing stage only, so we must calculate the proportion of shrimp that are broodstock against only this population. We do so handling the data in the same way as the Set-up chapter, using the <code>kde1d</code> function to generate 100,000 samples.</p>
<p>We also need to adjust for the fact that only female broodstock are subjected to eyestalk ablation, not their offspring who are actually raised for food. We calculate the number of broodstock by using the total number of shrimp that die on farms (from <a href="http://doi.org/10.31219/osf.io/b8n3t">Waldhorn &amp; Autric’s 2023</a> Guesstimate model), divided by the number of eggs different species lay per spawn, and assuming only half the eggs hatch. The denominator in this equation represents how many shrimp that die on farms each broodstock is responsible for hatching. We will then represent the number of female broodstock as a proportion of the number of shrimp that die on farms <em>from the postlarval stage onward</em> (as this is the ongrowing stage). We do so because other threats are evaluated for the harms they cause in the ongrowing stage only, so we must weight the eyestalk ablation prevalence by the proportion of shrimp that are broodstock from only this population.</p>
<p>See <a href="../chapters/set-up.html">set up chapter</a> for how the variables used here were calculated. First, we calculate the number of shrimp that die on farms from the postlarval stage onward. We do so handling the data in the same way as the Set-up chapter, using the <code>kde1d</code> function to generate 100,000 samples.</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb6"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(kde1d) <span class="co"># load the required package</span></span>
<span id="cb6-2"><a href="#cb6-2" aria-hidden="true" tabindex="-1"></a></span>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

<meta name="author" content="Hannah McKay and William McAuliffe">
<meta name="dcterms.date" content="2024-07-15">
<meta name="dcterms.date" content="2024-07-16">

<title>Methods for quantifying and prioritizing shrimp welfare threats</title>
<style>
Expand Down Expand Up @@ -210,7 +210,7 @@ <h1 class="title">Methods for quantifying and prioritizing shrimp welfare threat
<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">July 15, 2024</p>
<p class="date">July 16, 2024</p>
</div>
</div>

Expand Down
Loading

0 comments on commit 6aea1aa

Please sign in to comment.