Skip to content

Commit fd56278

Browse files
committed
Built site for gh-pages
1 parent 4a15702 commit fd56278

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b6e4d118
1+
6d0e031a

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ <h1 class="title d-none d-lg-block">betydata</h1>
261261
<div class="cell">
262262

263263
</div>
264-
<p><strong>betydata</strong> is an R data package providing offline access to public data from <a href="https://betydb.org">BETYdb</a> (Biofuel Ecophysiological Traits and Yields database), created for the <a href="https://pecanproject.github.io/">PEcAn</a> ecosystem modeling framework. It enables reproducible analyses of plant traits, crop yields, and supporting metadata without requiring database connectivity.</p>
264+
<p><strong>betydata</strong> is an R data package providing offline access to public data from <a href="https://betydb.org">BETYdb</a> (Biofuel Ecophysiological Traits and Yields database). It enables reproducible analyses of plant traits, crop yields, and supporting metadata without requiring database connectivity.</p>
265265
<section id="at-a-glance" class="level2">
266266
<h2 class="anchored" data-anchor-id="at-a-glance">At a Glance</h2>
267267
<div class="cell">

search.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"href": "index.html",
55
"title": "betydata",
66
"section": "",
7-
"text": "betydata is an R data package providing offline access to public data from BETYdb (Biofuel Ecophysiological Traits and Yields database), created for the PEcAn ecosystem modeling framework. It enables reproducible analyses of plant traits, crop yields, and supporting metadata without requiring database connectivity."
7+
"text": "betydata is an R data package providing offline access to public data from BETYdb (Biofuel Ecophysiological Traits and Yields database). It enables reproducible analyses of plant traits, crop yields, and supporting metadata without requiring database connectivity."
88
},
99
{
1010
"objectID": "index.html#at-a-glance",
@@ -137,7 +137,7 @@
137137
"href": "vignettes/getting_started.html#what-is-betydata",
138138
"title": "Getting Started with betydata",
139139
"section": "What is betydata?",
140-
"text": "What is betydata?\nThe betydata package provides offline access to public data from BETYdb, the Biofuel Ecophysiological Traits and Yields database. BETYdb is a centralized repository of plant trait measurements and crop yield data used by the PEcAn ecosystem modeling framework.\nA trait is a measurable characteristic of a plantfor example, Specific Leaf Area (SLA, m2/kg), maximum carboxylation rate (Vcmax, umol/m2/s), or leaf nitrogen content (%). A yield is a measure of crop production per unit area (typically Mg/ha). Together, traits and yields form the foundation of ecosystem model parameterization and agricultural research."
140+
"text": "What is betydata?\nThe betydata package provides offline access to public data from BETYdb, the Biofuel Ecophysiological Traits and Yields database. BETYdb is a centralized repository of plant trait measurements and crop yield data used in ecosystem modeling and agricultural research.\nA trait is a measurable characteristic of a plantfor example, Specific Leaf Area (SLA, m2/kg), maximum carboxylation rate (Vcmax, umol/m2/s), or leaf nitrogen content (%). A yield is a measure of crop production per unit area (typically Mg/ha). Together, traits and yields form the foundation of ecosystem model parameterization and agricultural research."
141141
},
142142
{
143143
"objectID": "vignettes/getting_started.html#loading-the-package",
@@ -207,7 +207,7 @@
207207
"href": "vignettes/getting_started.html#references",
208208
"title": "Getting Started with betydata",
209209
"section": "References",
210-
"text": "References\n\nLeBauer, D. S., et al. (2018). BETYdb: a yield, trait, and ecosystem service database applied to second-generation bioenergy feedstock production. GCB Bioenergy. doi:10.1111/gcbb.12420\nLeBauer, D. S., et al. (2013). Facilitating feedbacks between field measurements and ecosystem models. Ecological Monographs, 83(2), 133–154.\nBETYdb documentation: https://pecanproject.github.io/bety-documentation/"
210+
"text": "References\n\nLeBauer, D. S., et al. (2018). BETYdb: a yield, trait, and ecosystem service database applied to second-generation bioenergy feedstock production. GCB Bioenergy. doi:10.1111/gcbb.12420\nLeBauer, D. S., et al. (2013). Facilitating feedbacks between field measurements and ecosystem models. Ecological Monographs, 83(2), 133–154.\nBETYdb documentation: https://betydb.org"
211211
},
212212
{
213213
"objectID": "vignettes/manuscript.html",
@@ -291,7 +291,7 @@
291291
"href": "vignettes/pfts-priors.html#sec-background",
292292
"title": "Working with Plant Functional Types and Priors",
293293
"section": "Background",
294-
"text": "Background\n\nPlant Functional Types\nEcosystem models like PEcAn simulate how plants exchange carbon, water, and energy with the atmosphere. These models require parameter values for photosynthesis rates, leaf properties, allocation fractions, and other ecophysiological quantities. Rather than parameterizing every species individually, models group species into Plant Functional Types (PFTs)—categories like “temperate deciduous trees” or “C4 grasses”—and estimate shared parameters for each group.\n\n\nBayesian Parameterization\nPEcAn uses Bayesian inference to estimate model parameters. The workflow is:\n\nPrior distribution \\(p(\\theta)\\): Encodes existing knowledge about a parameter \\(\\theta\\) before looking at data (e.g. “SLA is around 20 m2/kg with considerable uncertainty”)\nLikelihood \\(p(D|\\theta)\\): How probable the observed trait data \\(D\\) is given parameter values\nPosterior distribution \\(p(\\theta|D)\\): Updated belief after combining prior and data via Bayes’ theorem:\n\n\\[\np(\\theta | D) \\propto p(D | \\theta) \\cdot p(\\theta)\n\\tag{1}\\]\nThe tables in betydata provide the ingredients for this workflow: priors stores prior distributions, traitsview stores the observed data, and pfts/pfts_species/pfts_priors define which priors and species belong to each PFT."
294+
"text": "Background\n\nPlant Functional Types\nEcosystem models simulate how plants exchange carbon, water, and energy with the atmosphere. These models require parameter values for photosynthesis rates, leaf properties, allocation fractions, and other ecophysiological quantities. Rather than parameterizing every species individually, models group species into Plant Functional Types (PFTs) – categories like “temperate deciduous trees” or “C4 grasses” – and estimate shared parameters for each group.\n\n\nBayesian Parameterization\nBayesian inference is used to estimate model parameters. The workflow is:\n\nPrior distribution \\(p(\\theta)\\): Encodes existing knowledge about a parameter \\(\\theta\\) before looking at data (e.g. “SLA is around 20 m2/kg with considerable uncertainty”)\nLikelihood \\(p(D|\\theta)\\): How probable the observed trait data \\(D\\) is given parameter values\nPosterior distribution \\(p(\\theta|D)\\): Updated belief after combining prior and data via Bayes’ theorem:\n\n\\[\np(\\theta | D) \\propto p(D | \\theta) \\cdot p(\\theta)\n\\tag{1}\\]\nThe tables in betydata provide the ingredients for this workflow: priors stores prior distributions, traitsview stores the observed data, and pfts/pfts_species/pfts_priors define which priors and species belong to each PFT."
295295
},
296296
{
297297
"objectID": "vignettes/pfts-priors.html#setup",
@@ -326,7 +326,7 @@
326326
"href": "vignettes/pfts-priors.html#sec-prior-vs-data",
327327
"title": "Working with Plant Functional Types and Priors",
328328
"section": "Comparing Prior to Data",
329-
"text": "Comparing Prior to Data\nA key validation step in Bayesian parameterization: compare the prior distribution to observed data. If the prior assigns negligible probability to regions where data actually falls, the prior may need revision.\n\n\n\n\n\n\nPrior-Data Conflict\n\n\n\nWhen the prior and data disagree strongly, the posterior will be dominated by whichever has lower variance. A very tight prior that disagrees with data can effectively ignore the data—a clear signal to revisit prior specification.\n\n\n\nsla_data <- traitsview |>\n filter(\n trait == \"SLA\",\n genus %in% c(\"Miscanthus\", \"Panicum\"),\n !is.na(mean),\n checked >= 0\n ) |>\n pull(mean)\n\nif (length(sla_data) > 10 && exists(\"prior_x\") && exists(\"prior_y\")) {\n ggplot() +\n geom_histogram(\n data = data.frame(sla = sla_data),\n aes(x = sla, y = after_stat(density)),\n bins = 30, fill = \"steelblue\", alpha = 0.6\n ) +\n geom_line(\n data = data.frame(x = prior_x, y = prior_y),\n aes(x, y),\n color = \"#e74c3c\", linewidth = 1, linetype = \"dashed\"\n ) +\n labs(\n title = \"Prior vs. Observed SLA\",\n subtitle = \"Dashed red = prior distribution | Blue bars = observed data (Miscanthus + Panicum)\",\n x = \"SLA (m2/kg)\",\n y = \"Density\"\n ) +\n xlim(0, 80) +\n theme_minimal(base_size = 12)\n}\n\n\n\n\nFigure 2: SLA: Prior distribution vs. observed data for bioenergy grasses"
329+
"text": "Comparing Prior to Data\nA key validation step in Bayesian parameterization: compare the prior distribution to observed data. If the prior assigns negligible probability to regions where data actually falls, the prior may need revision.\n\n\n\n\n\n\nPrior-Data Conflict\n\n\n\nWhen the prior and data disagree strongly, the posterior will be dominated by whichever has lower variance. A very tight prior that disagrees with data can effectively ignore the data – a clear signal to revisit prior specification.\n\n\n\nsla_data <- traitsview |>\n filter(\n trait == \"SLA\",\n genus %in% c(\"Miscanthus\", \"Panicum\"),\n !is.na(mean),\n checked >= 0\n ) |>\n pull(mean)\n\nif (length(sla_data) > 10 && exists(\"prior_x\") && exists(\"prior_y\")) {\n ggplot() +\n geom_histogram(\n data = data.frame(sla = sla_data),\n aes(x = sla, y = after_stat(density)),\n bins = 30, fill = \"steelblue\", alpha = 0.6\n ) +\n geom_line(\n data = data.frame(x = prior_x, y = prior_y),\n aes(x, y),\n color = \"#e74c3c\", linewidth = 1, linetype = \"dashed\"\n ) +\n labs(\n title = \"Prior vs. Observed SLA\",\n subtitle = \"Dashed red = prior distribution | Blue bars = observed data (Miscanthus + Panicum)\",\n x = \"SLA (m2/kg)\",\n y = \"Density\"\n ) +\n xlim(0, 80) +\n theme_minimal(base_size = 12)\n}\n\n\n\n\nFigure 2: SLA: Prior distribution vs. observed data for bioenergy grasses"
330330
},
331331
{
332332
"objectID": "vignettes/pfts-priors.html#sec-extract",

sitemap.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://PecanProject.github.io/betydata/index.html</loc>
5-
<lastmod>2026-03-02T00:25:43.854Z</lastmod>
5+
<lastmod>2026-03-02T00:58:19.755Z</lastmod>
66
</url>
77
<url>
88
<loc>https://PecanProject.github.io/betydata/vignettes/common_analyses.html</loc>
9-
<lastmod>2026-03-02T00:25:46.559Z</lastmod>
9+
<lastmod>2026-03-02T00:58:20.421Z</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://PecanProject.github.io/betydata/vignettes/getting_started.html</loc>
13-
<lastmod>2026-03-02T00:25:55.040Z</lastmod>
13+
<lastmod>2026-03-02T00:58:28.651Z</lastmod>
1414
</url>
1515
<url>
1616
<loc>https://PecanProject.github.io/betydata/vignettes/manuscript.html</loc>
17-
<lastmod>2026-03-02T00:25:55.703Z</lastmod>
17+
<lastmod>2026-03-02T00:58:29.261Z</lastmod>
1818
</url>
1919
<url>
2020
<loc>https://PecanProject.github.io/betydata/vignettes/pfts-priors.html</loc>
21-
<lastmod>2026-03-02T00:26:00.295Z</lastmod>
21+
<lastmod>2026-03-02T00:58:33.793Z</lastmod>
2222
</url>
2323
</urlset>

vignettes/getting_started.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ <h1 class="title d-none d-lg-block">Getting Started with betydata</h1>
289289
</div>
290290
<section id="what-is-betydata" class="level2">
291291
<h2 class="anchored" data-anchor-id="what-is-betydata">What is betydata?</h2>
292-
<p>The <code>betydata</code> package provides offline access to public data from <a href="https://betydb.org">BETYdb</a>, the Biofuel Ecophysiological Traits and Yields database. BETYdb is a centralized repository of plant trait measurements and crop yield data used by the <a href="https://pecanproject.github.io/">PEcAn</a> ecosystem modeling framework.</p>
293-
<p>A <strong>trait</strong> is a measurable characteristic of a plantfor example, Specific Leaf Area (SLA, m2/kg), maximum carboxylation rate (Vcmax, umol/m2/s), or leaf nitrogen content (%). A <strong>yield</strong> is a measure of crop production per unit area (typically Mg/ha). Together, traits and yields form the foundation of ecosystem model parameterization and agricultural research.</p>
292+
<p>The <code>betydata</code> package provides offline access to public data from <a href="https://betydb.org">BETYdb</a>, the Biofuel Ecophysiological Traits and Yields database. BETYdb is a centralized repository of plant trait measurements and crop yield data used in ecosystem modeling and agricultural research.</p>
293+
<p>A <strong>trait</strong> is a measurable characteristic of a plantfor example, Specific Leaf Area (SLA, m2/kg), maximum carboxylation rate (Vcmax, umol/m2/s), or leaf nitrogen content (%). A <strong>yield</strong> is a measure of crop production per unit area (typically Mg/ha). Together, traits and yields form the foundation of ecosystem model parameterization and agricultural research.</p>
294294
</section>
295295
<section id="loading-the-package" class="level2">
296296
<h2 class="anchored" data-anchor-id="loading-the-package">Loading the Package</h2>
@@ -785,7 +785,7 @@ <h2 class="anchored" data-anchor-id="references">References</h2>
785785
<ul>
786786
<li>LeBauer, D. S., et al.&nbsp;(2018). BETYdb: a yield, trait, and ecosystem service database applied to second-generation bioenergy feedstock production. <em>GCB Bioenergy</em>. <a href="https://doi.org/10.1111/gcbb.12420">doi:10.1111/gcbb.12420</a></li>
787787
<li>LeBauer, D. S., et al.&nbsp;(2013). Facilitating feedbacks between field measurements and ecosystem models. <em>Ecological Monographs</em>, 83(2), 133–154.</li>
788-
<li>BETYdb documentation: <a href="https://pecanproject.github.io/bety-documentation/" class="uri">https://pecanproject.github.io/bety-documentation/</a></li>
788+
<li>BETYdb documentation: <a href="https://betydb.org" class="uri">https://betydb.org</a></li>
789789
</ul>
790790

791791

vignettes/pfts-priors.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,11 @@ <h1 class="title d-none d-lg-block">Working with Plant Functional Types and Prio
294294
<h2 class="anchored" data-anchor-id="sec-background">Background</h2>
295295
<section id="plant-functional-types" class="level3">
296296
<h3 class="anchored" data-anchor-id="plant-functional-types">Plant Functional Types</h3>
297-
<p>Ecosystem models like <a href="https://pecanproject.github.io/">PEcAn</a> simulate how plants exchange carbon, water, and energy with the atmosphere. These models require parameter values for photosynthesis rates, leaf properties, allocation fractions, and other ecophysiological quantities. Rather than parameterizing every species individually, models group species into <strong>Plant Functional Types (PFTs)</strong>categories like “temperate deciduous trees” or “C4 grasses”and estimate shared parameters for each group.</p>
297+
<p>Ecosystem models simulate how plants exchange carbon, water, and energy with the atmosphere. These models require parameter values for photosynthesis rates, leaf properties, allocation fractions, and other ecophysiological quantities. Rather than parameterizing every species individually, models group species into <strong>Plant Functional Types (PFTs)</strong>categories like “temperate deciduous trees” or “C4 grasses”and estimate shared parameters for each group.</p>
298298
</section>
299299
<section id="bayesian-parameterization" class="level3">
300300
<h3 class="anchored" data-anchor-id="bayesian-parameterization">Bayesian Parameterization</h3>
301-
<p>PEcAn uses Bayesian inference to estimate model parameters. The workflow is:</p>
301+
<p>Bayesian inference is used to estimate model parameters. The workflow is:</p>
302302
<ol type="1">
303303
<li><strong>Prior distribution</strong> <span class="math inline">\(p(\theta)\)</span>: Encodes existing knowledge about a parameter <span class="math inline">\(\theta\)</span> before looking at data (e.g.&nbsp;“SLA is around 20 m2/kg with considerable uncertainty”)</li>
304304
<li><strong>Likelihood</strong> <span class="math inline">\(p(D|\theta)\)</span>: How probable the observed trait data <span class="math inline">\(D\)</span> is given parameter values</li>
@@ -761,7 +761,7 @@ <h2 class="anchored" data-anchor-id="sec-prior-vs-data">Comparing Prior to Data<
761761
</div>
762762
</div>
763763
<div class="callout-body-container callout-body">
764-
<p>When the prior and data disagree strongly, the posterior will be dominated by whichever has lower variance. A very tight prior that disagrees with data can effectively ignore the dataa clear signal to revisit prior specification.</p>
764+
<p>When the prior and data disagree strongly, the posterior will be dominated by whichever has lower variance. A very tight prior that disagrees with data can effectively ignore the dataa clear signal to revisit prior specification.</p>
765765
</div>
766766
</div>
767767
<div class="cell">

0 commit comments

Comments
 (0)