Skip to content

Commit

Permalink
bump + website
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jun 13, 2024
1 parent dbc0664 commit 3cebaf6
Show file tree
Hide file tree
Showing 199 changed files with 4,035 additions and 3,969 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: marginaleffects
Title: Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests
Version: 0.20.1.6
Version: 0.20.1.7
Authors@R:
c(person(given = "Vincent",
family = "Arel-Bundock",
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ New:
* `hypothesis` accepts formulas like: `ratio ~ sequential | group`
* Allow reverse binary contrasts: comparisons(mod, variables = list(am = 1:0, vs = 0:1)). Thanks to K. Henry for report #1137.
* `options(marginaleffects_safe = FALSE)` disables some safety checks and allows unadvisable (but potentially) useful features like *many* pairwise comparisons. Thanks to D.Locke for the feature request.
* `newdata="balanced"` is a shortcut to produce estimates at combinations of all categorical predictors, holding numeric predictors at their means. Equivalent to `datagrid(grid_type="balanced")`

Misc:

Expand Down
Binary file modified altdoc/freeze.rds
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/CITATION.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down
2 changes: 1 addition & 1 deletion docs/LICENSE.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down
4 changes: 3 additions & 1 deletion docs/NEWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -550,6 +550,8 @@ <h2 class="anchored" data-anchor-id="development">Development</h2>
<ul>
<li><code>hypothesis</code> accepts formulas like: <code>ratio ~ sequential | group</code></li>
<li>Allow reverse binary contrasts: comparisons(mod, variables = list(am = 1:0, vs = 0:1)). Thanks to K. Henry for report <a href="https://github.com/vincentarelbundock/marginaleffects/issues/1137">#1137</a>.</li>
<li><code>options(marginaleffects_safe = FALSE)</code> disables some safety checks and allows unadvisable (but potentially) useful features like <em>many</em> pairwise comparisons. Thanks to D.Locke for the feature request.</li>
<li><code>newdata="balanced"</code> is a shortcut to produce estimates at combinations of all categorical predictors, holding numeric predictors at their means. Equivalent to <code>datagrid(grid_type="balanced")</code></li>
</ul>
<p>Misc:</p>
<ul>
Expand Down
Binary file modified docs/freeze.rds
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down
12 changes: 10 additions & 2 deletions docs/man/comparisons.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Marginal Effects Zoo – comparisons</title>
<style>
Expand Down Expand Up @@ -554,6 +554,7 @@
<li><a href="#prediction-types" id="toc-prediction-types" class="nav-link" data-scroll-target="#prediction-types">Prediction types</a></li>
<li><a href="#order-of-operations" id="toc-order-of-operations" class="nav-link" data-scroll-target="#order-of-operations">Order of operations</a></li>
<li><a href="#parallel-computation" id="toc-parallel-computation" class="nav-link" data-scroll-target="#parallel-computation">Parallel computation</a></li>
<li><a href="#global-options" id="toc-global-options" class="nav-link" data-scroll-target="#global-options">Global options</a></li>
<li><a href="#references" id="toc-references" class="nav-link" data-scroll-target="#references">References</a></li>
<li><a href="#examples" id="toc-examples" class="nav-link" data-scroll-target="#examples">Examples</a></li>
</ul>
Expand Down Expand Up @@ -660,7 +661,7 @@
<p>"median": Contrasts at the Median. Contrasts when each predictor is held at its median or mode.</p>
</li>
<li>
<p>"marginalmeans": Contrasts at Marginal Means.</p>
<p>"balanced": Contrasts evaluated on a balanced grid with every combination of categories and numeric variables held at their means.</p>
</li>
<li>
<p>"tukey": Contrasts at Tukey’s 5 numbers.</p>
Expand Down Expand Up @@ -1634,6 +1635,13 @@
<pre>options(marginaleffects_parallel = FALSE)
</pre>
</div>
</section><section id="global-options" class="level3"><h3 class="anchored" data-anchor-id="global-options">Global options</h3>
<p>The behavior of <code>marginaleffects</code> functions can be modified by setting global options.</p>
<p>Disable some safety checks:</p>
<div class="sourceCode r">
<pre>options(marginaleffects_safe = FALSE)`
</pre>
</div>
</section><section id="references" class="level3"><h3 class="anchored" data-anchor-id="references">References</h3>
<ul>
<li>
Expand Down
2 changes: 1 addition & 1 deletion docs/man/datagrid.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Marginal Effects Zoo – datagrid</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion docs/man/hypotheses.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Marginal Effects Zoo – hypotheses</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion docs/man/inferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Marginal Effects Zoo – inferences</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion docs/man/plot_comparisons.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Marginal Effects Zoo – plot_comparisons</title>
<style>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/man/plot_predictions.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Marginal Effects Zoo – plot_predictions</title>
<style>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/man/plot_slopes.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Marginal Effects Zoo – plot_slopes</title>
<style>
Expand Down
Binary file modified docs/man/plot_slopes_files/figure-html/unnamed-chunk-1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/man/plot_slopes_files/figure-html/unnamed-chunk-1-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/man/plot_slopes_files/figure-html/unnamed-chunk-1-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/man/plot_slopes_files/figure-html/unnamed-chunk-1-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/man/plot_slopes_files/figure-html/unnamed-chunk-1-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/man/posterior_draws.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down
20 changes: 14 additions & 6 deletions docs/man/predictions.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Marginal Effects Zoo – predictions</title>
<style>
Expand Down Expand Up @@ -553,6 +553,7 @@
<li><a href="#prediction-types" id="toc-prediction-types" class="nav-link" data-scroll-target="#prediction-types">Prediction types</a></li>
<li><a href="#order-of-operations" id="toc-order-of-operations" class="nav-link" data-scroll-target="#order-of-operations">Order of operations</a></li>
<li><a href="#parallel-computation" id="toc-parallel-computation" class="nav-link" data-scroll-target="#parallel-computation">Parallel computation</a></li>
<li><a href="#global-options" id="toc-global-options" class="nav-link" data-scroll-target="#global-options">Global options</a></li>
<li><a href="#references" id="toc-references" class="nav-link" data-scroll-target="#references">References</a></li>
<li><a href="#examples" id="toc-examples" class="nav-link" data-scroll-target="#examples">Examples</a></li>
</ul>
Expand Down Expand Up @@ -646,19 +647,19 @@
<p>string:</p>
<ul>
<li>
<p>"mean": Predictions at the Mean. Predictions when each predictor is held at its mean or mode.</p>
<p>"mean": Predictions evaluated when each predictor is held at its mean or mode.</p>
</li>
<li>
<p>"median": Predictions at the Median. Predictions when each predictor is held at its median or mode.</p>
<p>"median": Predictions evaluated when each predictor is held at its median or mode.</p>
</li>
<li>
<p>"marginalmeans": Predictions at Marginal Means. See Details section below.</p>
<p>"balanced": Predictions evaluated on a balanced grid with every combination of categories and numeric variables held at their means.</p>
</li>
<li>
<p>"tukey": Predictions at Tukey’s 5 numbers.</p>
<p>"tukey": Predictions evaluated at Tukey’s 5 numbers.</p>
</li>
<li>
<p>"grid": Predictions on a grid of representative numbers (Tukey’s 5 numbers and unique values of categorical predictors).</p>
<p>"grid": Predictions evaluated on a grid of representative numbers (Tukey’s 5 numbers and unique values of categorical predictors).</p>
</li>
</ul>
</li>
Expand Down Expand Up @@ -1355,6 +1356,13 @@
<pre>options(marginaleffects_parallel = FALSE)
</pre>
</div>
</section><section id="global-options" class="level3"><h3 class="anchored" data-anchor-id="global-options">Global options</h3>
<p>The behavior of <code>marginaleffects</code> functions can be modified by setting global options.</p>
<p>Disable some safety checks:</p>
<div class="sourceCode r">
<pre>options(marginaleffects_safe = FALSE)`
</pre>
</div>
</section><section id="references" class="level3"><h3 class="anchored" data-anchor-id="references">References</h3>
<ul>
<li>
Expand Down
18 changes: 9 additions & 9 deletions docs/man/print.marginaleffects.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.37">
<meta name="generator" content="quarto-1.5.43">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Marginal Effects Zoo – print.marginaleffects</title>
<style>
Expand Down Expand Up @@ -658,27 +658,27 @@
<div class="sourceCode" id="cb5"><pre class="downlit sourceCode r code-with-copy"><code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/base/print.html">print</a></span><span class="op">(</span><span class="va">p</span>, style <span class="op">=</span> <span class="st">"data.frame"</span><span class="op">)</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code> am gear estimate std.error statistic p.value s.value conf.low
1 1 4 26.27500 1.0392747 25.28205 5.032443e-141 466.0606 24.23806
2 0 3 16.10667 0.7589789 21.22150 6.046968e-100 329.5966 14.61910
3 0 4 21.05000 1.4697545 14.32212 1.591933e-46 152.1379 18.16933
1 1 4 26.27500 1.0392746 25.28206 5.032257e-141 466.0607 24.23806
2 0 3 16.10667 0.7589789 21.22150 6.047015e-100 329.5966 14.61910
3 0 4 21.05000 1.4697592 14.32207 1.592966e-46 152.1370 18.16932
4 1 5 21.38000 1.3145900 16.26363 1.788354e-59 195.1551 18.80345
conf.high
1 28.31194
2 17.59424
3 23.93067
3 23.93068
4 23.95655</code></pre>
</div>
<div class="sourceCode" id="cb7"><pre class="downlit sourceCode r code-with-copy"><code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html">data.frame</a></span><span class="op">(</span><span class="va">p</span><span class="op">)</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code> am gear estimate std.error statistic p.value s.value conf.low
1 1 4 26.27500 1.0392747 25.28205 5.032443e-141 466.0606 24.23806
2 0 3 16.10667 0.7589789 21.22150 6.046968e-100 329.5966 14.61910
3 0 4 21.05000 1.4697545 14.32212 1.591933e-46 152.1379 18.16933
1 1 4 26.27500 1.0392746 25.28206 5.032257e-141 466.0607 24.23806
2 0 3 16.10667 0.7589789 21.22150 6.047015e-100 329.5966 14.61910
3 0 4 21.05000 1.4697592 14.32207 1.592966e-46 152.1370 18.16932
4 1 5 21.38000 1.3145900 16.26363 1.788354e-59 195.1551 18.80345
conf.high
1 28.31194
2 17.59424
3 23.93067
3 23.93068
4 23.95655</code></pre>
</div>
</div>
Expand Down
Loading

0 comments on commit 3cebaf6

Please sign in to comment.