Skip to content

Commit

Permalink
Commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
FerreiraAS committed Sep 6, 2023
1 parent e235a9e commit 6936040
Show file tree
Hide file tree
Showing 47 changed files with 52 additions and 4,857 deletions.
Binary file modified .DS_Store
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions 99-merge.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
```{r cover-merge, echo = FALSE}
try(pdftools::pdf_combine(c("docs/R-Book-Cover.pdf", "docs/R-Book.pdf"),
output = "docs/R-Book-Joined.pdf"),
silent = TRUE
)
```
Binary file modified R-Book-Cover.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion R-Book.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex 2023.9.5) 5 SEP 2023 22:34
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex 2023.9.5) 5 SEP 2023 23:08
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
54 changes: 29 additions & 25 deletions book-cover.R
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
W <- 8.3
H <- 11.7

grDevices::png(file = "R-Book-Cover.png",
width = W,
height = H,
units = "in",
res = 300)

grDevices::pdf(file = "R-Book-Cover.pdf",
width = W,
height = H)

par(mar = c(0, 0, 0, 0), oma = c(0, 0, 0, 0))

plot(1, type = "n", xlab = "", ylab = "", xlim = c(0,W), ylim = c(0,H))

# author name
text(x = W, y = H - H/9, labels = "Arthur de Sá Ferreira", pos = 2, cex = 1.5)

# book title
text(x = W, y = H/2, labels = "Ciência com R", pos = 2, cex = 3)
lines(x = (W - 4):W, y = rep(H/2 - 0.5, 5), lwd = 4)

# author name
text(x = W/2, y = H - H/1, labels = format(Sys.Date(), "%Y"), adj = c(0,0), cex = 1)

dev.off()
for(i in 1:2){

if(i == 1){
grDevices::png(file = "R-Book-Cover.png",
width = W,
height = H,
units = "in",
res = 300)
} else {
grDevices::pdf(file = "R-Book-Cover.pdf",
width = W,
height = H)
}
par(mar = c(0, 0, 0, 0), oma = c(0, 0, 0, 0))

plot(1, type = "n", xlab = "", ylab = "", xlim = c(0,W), ylim = c(0,H))

# author name
text(x = W, y = H - H/9, labels = "Arthur de Sá Ferreira", pos = 2, cex = 1.5)

# book title
text(x = W, y = H/2, labels = "Ciência com R", pos = 2, cex = 3)
lines(x = (W - 4):W, y = rep(H/2 - 0.5, 5), lwd = 4)

# author name
text(x = W/2, y = H - H/1, labels = format(Sys.Date(), "%Y"), adj = c(0,0), cex = 1)

dev.off()
}
Binary file removed docs/.DS_Store
Binary file not shown.
Binary file removed docs/R-Book-Cover.pdf
Binary file not shown.
Binary file modified docs/R-Book.epub
Binary file not shown.
Binary file modified docs/R-Book.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/analise-exploratoria.html
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ <h3><span class="header-section-number">8.1.2</span> O que são quantis?<a href=
</div>
</div>
</div>
<h3>Referências<a href="referências.html#referências" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<h3>References</h3>
<div id="refs" class="references csl-bib-body">
<div id="ref-base" class="csl-entry">
<div class="csl-left-margin">6. </div><div class="csl-right-inline">R Core Team. <em><span>R</span>: A Language and Environment for Statistical Computing</em>. Vienna, Austria: R Foundation for Statistical Computing; 2023. <a href="https://www.R-project.org/">https://www.R-project.org/.</a></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/analise-regresaao.html
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ <h3><span class="header-section-number">9.2.2</span> O que pode ser feito para r
</div>
</div>
</div>
<h3>Referências<a href="referências.html#referências" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<h3>References</h3>
<div id="refs" class="references csl-bib-body">
<div id="ref-Hidalgo2013" class="csl-entry">
<div class="csl-left-margin">71. </div><div class="csl-right-inline">Hidalgo B, Goodman M. Multivariate or Multivariable Regression? <em>American Journal of Public Health</em>. 2013;103(1):39-40. doi:<a href="https://doi.org/10.2105/ajph.2012.300897">10.2105/ajph.2012.300897</a></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/computacao-estatistica.html
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ <h2><span class="header-section-number">1.2</span> Instalação<a href="computac

</div>
</div>
<h3>Referências<a href="referências.html#referências" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<h3>References</h3>
<div id="refs" class="references csl-bib-body">
<div id="ref-SchwabSimon2021" class="csl-entry">
<div class="csl-left-margin">1. </div><div class="csl-right-inline">Schwab, Simon, Held, Leonhard. Statistical programming: Small mistakes, big impacts. <em>Wiley-Blackwell Publishing, Inc</em>. 2021. doi:<a href="https://doi.org/10.5167/UZH-205154">10.5167/UZH-205154</a></div>
Expand Down
406 changes: 0 additions & 406 deletions docs/cover-page.html

This file was deleted.

2 changes: 1 addition & 1 deletion docs/dados.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ <h3><span class="header-section-number">4.2.7</span> Que estratégias podem ser
</div>
</div>
</div>
<h3>Referências<a href="referências.html#referências" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<h3>References</h3>
<div id="refs" class="references csl-bib-body">
<div id="ref-Olson2021" class="csl-entry">
<div class="csl-left-margin">30. </div><div class="csl-right-inline">Olson K. What Are Data? <em>Qualitative Health Research</em>. 2021;31(9):1567-1569. doi:<a href="https://doi.org/10.1177/10497323211015960">10.1177/10497323211015960</a></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/delineamento-estudos.html
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ <h3><span class="header-section-number">10.1.1</span> Como podem ser classificad
</div>
</div>
</div>
<h3>Referências<a href="referências.html#referências" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<h3>References</h3>
<div id="refs" class="references csl-bib-body">
<div id="ref-Grant2009" class="csl-entry">
<div class="csl-left-margin">75. </div><div class="csl-right-inline">Grant MJ, Booth A. A typology of reviews: an analysis of 14 review types and associated methodologies. <em>Health Information &amp; Libraries Journal</em>. 2009;26(2):91-108. doi:<a href="https://doi.org/10.1111/j.1471-1842.2009.00848.x">10.1111/j.1471-1842.2009.00848.x</a></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/desempenho-diagnostico.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ <h3><span class="header-section-number">11.1.1</span> Como analisar o desempenho
</div>
</div>
</div>
<h3>Referências<a href="referências.html#referências" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<h3>References</h3>
<div id="refs" class="references csl-bib-body">
<div id="ref-ferreira2021" class="csl-entry">
<div class="csl-left-margin">85. </div><div class="csl-right-inline">Ferreira ADS, Meziat-Filho N, Ferreira APA. Double threshold receiver operating characteristic plot for three-modal continuous predictors. <em>Computational Statistics</em>. 2021;36(3):2231-2245. doi:<a href="https://doi.org/10.1007/s00180-021-01080-9">10.1007/s00180-021-01080-9</a></div>
Expand Down
Loading

0 comments on commit 6936040

Please sign in to comment.