Skip to content

Commit

Permalink
Built site for pricesensitivitymeter: 1.3.0@fa9b8e1
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 24, 2024
1 parent 25a4a82 commit bb9aba6
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 27 deletions.
2 changes: 1 addition & 1 deletion pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ articles:
interpolation-in-small-samples: interpolation-in-small-samples.html
using-weighted-data: using-weighted-data.html
visualizing-psm-results: visualizing-psm-results.html
last_built: 2024-02-24T23:40Z
last_built: 2024-02-24T23:45Z
urls:
reference: https://max-alletsee.github.io/pricesensitivitymeter/reference
article: https://max-alletsee.github.io/pricesensitivitymeter/articles
Expand Down
4 changes: 2 additions & 2 deletions reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 13 additions & 12 deletions reference/psm_analysis.rd
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,19 @@
</div>

<div id="ref-usage">
<div class="sourceCode"><pre><code>psm_analysis(
toocheap, cheap, expensive, tooexpensive,
data = NA,
validate = TRUE,
interpolate = FALSE,
interpolation_steps = 0.01,
intersection_method = "min",
acceptable_range = "original",
pi_cheap = NA, pi_expensive = NA,
pi_scale = 5:1,
pi_calibrated = c(0.7, 0.5, 0.3, 0.1, 0)),
pi_calibrated_toocheap = 0, pi_calibrated_tooexpensive = 0</code></pre></div>
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">psm_analysis</span><span class="op">(</span></span>
<span> <span class="va">toocheap</span>, <span class="va">cheap</span>, <span class="va">expensive</span>, <span class="va">tooexpensive</span>,</span>
<span> data <span class="op">=</span> <span class="cn">NA</span>,</span>
<span> validate <span class="op">=</span> <span class="cn">TRUE</span>,</span>
<span> interpolate <span class="op">=</span> <span class="cn">FALSE</span>,</span>
<span> interpolation_steps <span class="op">=</span> <span class="fl">0.01</span>,</span>
<span> intersection_method <span class="op">=</span> <span class="st">"min"</span>,</span>
<span> acceptable_range <span class="op">=</span> <span class="st">"original"</span>,</span>
<span> pi_cheap <span class="op">=</span> <span class="cn">NA</span>, pi_expensive <span class="op">=</span> <span class="cn">NA</span>,</span>
<span> pi_scale <span class="op">=</span> <span class="fl">5</span><span class="op">:</span><span class="fl">1</span>,</span>
<span> pi_calibrated <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">0.7</span>, <span class="fl">0.5</span>, <span class="fl">0.3</span>, <span class="fl">0.1</span>, <span class="fl">0</span><span class="op">)</span>,</span>
<span> pi_calibrated_toocheap <span class="op">=</span> <span class="fl">0</span>, pi_calibrated_tooexpensive <span class="op">=</span> <span class="fl">0</span></span>
<span> <span class="op">)</span></span></code></pre></div>
</div>

<div id="arguments">
Expand Down
25 changes: 13 additions & 12 deletions reference/psm_analysis_weighted.rd
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,19 @@ To run a PSM analysis without weighting, use the function
</div>

<div id="ref-usage">
<div class="sourceCode"><pre><code>psm_analysis_weighted(
toocheap, cheap, expensive, tooexpensive,
design,
validate = TRUE,
interpolate = FALSE,
interpolation_steps = 0.01,
intersection_method = "min",
acceptable_range = "original",
pi_cheap = NA, pi_expensive = NA,
pi_scale = 5:1,
pi_calibrated = c(0.7, 0.5, 0.3, 0.1, 0)),
pi_calibrated_toocheap = 0, pi_calibrated_tooexpensive = 0</code></pre></div>
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">psm_analysis_weighted</span><span class="op">(</span></span>
<span> <span class="va">toocheap</span>, <span class="va">cheap</span>, <span class="va">expensive</span>, <span class="va">tooexpensive</span>,</span>
<span> <span class="va">design</span>,</span>
<span> validate <span class="op">=</span> <span class="cn">TRUE</span>,</span>
<span> interpolate <span class="op">=</span> <span class="cn">FALSE</span>,</span>
<span> interpolation_steps <span class="op">=</span> <span class="fl">0.01</span>,</span>
<span> intersection_method <span class="op">=</span> <span class="st">"min"</span>,</span>
<span> acceptable_range <span class="op">=</span> <span class="st">"original"</span>,</span>
<span> pi_cheap <span class="op">=</span> <span class="cn">NA</span>, pi_expensive <span class="op">=</span> <span class="cn">NA</span>,</span>
<span> pi_scale <span class="op">=</span> <span class="fl">5</span><span class="op">:</span><span class="fl">1</span>,</span>
<span> pi_calibrated <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">0.7</span>, <span class="fl">0.5</span>, <span class="fl">0.3</span>, <span class="fl">0.1</span>, <span class="fl">0</span><span class="op">)</span>,</span>
<span> pi_calibrated_toocheap <span class="op">=</span> <span class="fl">0</span>, pi_calibrated_tooexpensive <span class="op">=</span> <span class="fl">0</span></span>
<span> <span class="op">)</span></span></code></pre></div>
</div>

<div id="arguments">
Expand Down

0 comments on commit bb9aba6

Please sign in to comment.