Skip to content

Commit

Permalink
save R plots to images/R/
Browse files Browse the repository at this point in the history
  • Loading branch information
TDJorgensen committed Nov 18, 2024
1 parent 1329a15 commit 743b63f
Show file tree
Hide file tree
Showing 31 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 12-IntroCategorical.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Binary variables have only 1 threshold that splits a normal distribution into 2

In either case, the threshold is the same distance from the LRV's mean, as depicted in Figure \@ref(fig:fig12-1) below.

```{r plot binary, echo=FALSE, label="fig12-1", fig.cap="One threshold divides a normal distribution into two categories."}
```{r plot binary, echo=FALSE, label="fig12-1", fig.cap="One threshold divides a normal distribution into two categories.", fig.path='images/R/'}
opar <- par(mfrow = 1:2, mar = c(4, 1, 1, 1))
## Fixed intercept, estimated threshold
Expand Down Expand Up @@ -264,7 +264,7 @@ The LRV for `intention` can be interpreted as the degree to which someone intend

Figure \@ref(fig:fig12-2) below visualizes the "classification rules" above.

```{r plot poly, echo=FALSE, label="fig12-2", fig.cap="Three thresholds divide a normal distribution into four categories."}
```{r plot poly, echo=FALSE, label="fig12-2", fig.cap="Three thresholds divide a normal distribution into four categories.", fig.path='images/R/'}
opar <- par(mfrow = c(1,1), mar = c(4, 1, 1, 1))
## Fixed intercept, estimated threshold
Expand Down
1 change: 1 addition & 0 deletions USEME.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Rstudio then proceeds to Merge and Knit (or Knit and Merge, depending on the con
- TikZ and/or latex chunks
- R chunk with {engine='tikz', fig.path='images/tikz/'}
- see Ch 12 & 27 examples
- Save standard R plots to fig.path='images/R/'
- headings structure
- chunk labels
-
Binary file removed _main_files/figure-html/fig12-3-1.pdf
Binary file not shown.
Binary file removed _main_files/figure-html/fig12-3-1.png
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-1-1.pdf
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-1-1.png
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-2-1.pdf
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-2-1.png
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-3-1.pdf
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-3-1.png
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-4-1.pdf
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-4-1.png
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-5-1.pdf
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-5-1.png
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-6-1.pdf
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-6-1.png
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-7-1.pdf
Binary file not shown.
Binary file removed _main_files/figure-html/fig27-7-1.png
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/ch12.html
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ <h2><span class="header-section-number">12.3</span> Latent Response Variable<a h
</ul>
<p>In either case, the threshold is the same distance from the LRV’s mean, as depicted in Figure <a href="ch12.html#fig:fig12-1">12.1</a> below.</p>
<div class="figure"><span style="display:block;" id="fig:fig12-1"></span>
<img src="_main_files/figure-html/fig12-1-1.png" alt="One threshold divides a normal distribution into two categories." width="672" />
<img src="images/R/fig12-1-1.png" alt="One threshold divides a normal distribution into two categories." width="672" />
<p class="caption">
Figure 12.1: One threshold divides a normal distribution into two categories.
</p>
Expand Down Expand Up @@ -837,7 +837,7 @@ <h3><span class="header-section-number">12.3.1</span> Ordinal Outcomes<a href="c
</ol>
<p>Figure <a href="ch12.html#fig:fig12-2">12.2</a> below visualizes the “classification rules” above.</p>
<div class="figure"><span style="display:block;" id="fig:fig12-2"></span>
<img src="_main_files/figure-html/fig12-2-1.png" alt="Three thresholds divide a normal distribution into four categories." width="672" />
<img src="images/R/fig12-2-1.png" alt="Three thresholds divide a normal distribution into four categories." width="672" />
<p class="caption">
Figure 12.2: Three thresholds divide a normal distribution into four categories.
</p>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified images/tikz/fig12-3-1.pdf
Binary file not shown.
Binary file modified images/tikz/fig27-1-1.pdf
Binary file not shown.
Binary file modified images/tikz/fig27-2-1.pdf
Binary file not shown.
Binary file modified images/tikz/fig27-3-1.pdf
Binary file not shown.
Binary file modified images/tikz/fig27-4-1.pdf
Binary file not shown.
Binary file modified images/tikz/fig27-5-1.pdf
Binary file not shown.
Binary file modified images/tikz/fig27-6-1.pdf
Binary file not shown.
Binary file modified images/tikz/fig27-7-1.pdf
Binary file not shown.

0 comments on commit 743b63f

Please sign in to comment.