Skip to content

Commit

Permalink
configuration changed
Browse files Browse the repository at this point in the history
  • Loading branch information
clobos committed Mar 14, 2023
1 parent 16b9315 commit 195bdd7
Show file tree
Hide file tree
Showing 85 changed files with 418 additions and 221 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ vignettes/*.pdf
.httr-oauth

# knitr and R markdown default cache directories
*_cache/
/cache/
#*_cache/
#/cache/

# Temporary files created by R markdown
*.utf8.md
Expand Down
7 changes: 7 additions & 0 deletions _bookdown_files/GAMLSS_Gustavo_cache/epub3/__packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
knitr
gamlss.data
MASS
gamlss.dist
nlme
gamlss
xtable
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions _bookdown_files/GAMLSS_Gustavo_cache/html/__packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
knitr
gamlss.data
MASS
gamlss.dist
nlme
gamlss
xtable
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions _bookdown_files/GAMLSS_Gustavo_cache/latex/__packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
knitr
gamlss.data
MASS
gamlss.dist
nlme
gamlss
xtable
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
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.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 11 additions & 7 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<!DOCTYPE html>
<html lang="" xml:lang="">
<html lang="PT-br" xml:lang="PT-br">
<head>

<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Page not found | GAMLSS</title>
<title>Page not found | Introdução ao GAMLSS</title>
<meta name="description" content="<p>This is a minimal example of using the bookdown package to write a book.
The HTML output format for this example is bookdown::gitbook,
set in the _output.yml file.</p>" />
<meta name="generator" content="bookdown 0.32 and GitBook 2.6.7" />

<meta property="og:title" content="Page not found | GAMLSS" />
<meta property="og:title" content="Page not found | Introdução ao GAMLSS" />
<meta property="og:type" content="book" />

<meta property="og:description" content="<p>This is a minimal example of using the bookdown package to write a book.
Expand All @@ -19,7 +19,7 @@
<meta name="github-repo" content="rstudio/bookdown-demo" />

<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Page not found | GAMLSS" />
<meta name="twitter:title" content="Page not found | Introdução ao GAMLSS" />

<meta name="twitter:description" content="<p>This is a minimal example of using the bookdown package to write a book.
The HTML output format for this example is bookdown::gitbook,
Expand All @@ -29,7 +29,7 @@
<meta name="author" content="Gustavo Thomas e Cristian Villegas" />


<meta name="date" content="2023-03-13" />
<meta name="date" content="2023-03-14" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -142,7 +142,11 @@
<li><a href="./">A Minimal Book Example</a></li>

<li class="divider"></li>
<li class="chapter" data-level="1" data-path=""><a href="#introdução"><i class="fa fa-check"></i><b>1</b> Introdução</a></li>
<li class="chapter" data-level="1" data-path=""><a href="#introdução"><i class="fa fa-check"></i><b>1</b> Introdução</a>
<ul>
<li class="chapter" data-level="1.1" data-path=""><a href="#exercises-chapter-1"><i class="fa fa-check"></i><b>1.1</b> exercises Chapter 1</a></li>
<li class="chapter" data-level="1.2" data-path=""><a href="#gamlss.demo"><i class="fa fa-check"></i><b>1.2</b> gamlss.demo()</a></li>
</ul></li>
<li class="divider"></li>
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>

Expand All @@ -155,7 +159,7 @@
<div class="body-inner">
<div class="book-header" role="navigation">
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i><a href="./">GAMLSS</a>
<i class="fa fa-circle-o-notch fa-spin"></i><a href="./">Introdução ao GAMLSS</a>
</h1>
</div>

Expand Down
Binary file modified docs/GAMLSS_Gustavo.epub
Binary file not shown.
Binary file modified docs/GAMLSS_Gustavo.pdf
Binary file not shown.
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.
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.
556 changes: 361 additions & 195 deletions docs/index.html

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/reference-keys.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
introdução
exercises-chapter-1
gamlss.demo
2 changes: 1 addition & 1 deletion docs/search_index.json

Large diffs are not rendered by default.

36 changes: 20 additions & 16 deletions index.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "GAMLSS"
lang: "PT-br"
title: "Introdução ao GAMLSS"
author: "Gustavo Thomas e Cristian Villegas"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
Expand All @@ -15,6 +16,14 @@ link-citations: yes
github-repo: rstudio/bookdown-demo
---


```{r, echo=FALSE}
knitr::opts_chunk$set(message = FALSE,
warning = TRUE,
cache = TRUE)
```


# Introdução


Expand All @@ -30,7 +39,7 @@ plot(R~H, data=rent, col=gray(0.7), pch=15, cex=0.5)
plot(R~loc, data=rent, col=gray(0.7), pch=15, cex=0.5)
```

```{r, eval=FALSE}
```{r}
par(PPP)
# ----eval=FALSE----------------------------------------------------------
## R ~ Fl+A+H+loc
Expand All @@ -39,11 +48,13 @@ r1 <- gamlss(R ~ Fl+A+H+loc, family=NO, data=rent, trace=FALSE)
l1 <- lm(R ~ Fl+A+H+loc,data=rent)
coef(r1)
coef(l1)
## ----tidy=TRUE, tidy.opts=list(width=60)---------------------------------
```


```{r, tidy=TRUE, tidy.opts=list(width=60)}
fitted(r1, "sigma")[1]
summary(r1)
## ------------------------------------------------------------------------
Rsq(r1)
## ----LM_residual_plot,echo=TRUE,fig.show='hide', fig.asp=1---------------
Expand Down Expand Up @@ -114,62 +125,54 @@ r7 <- gamlss(R ~ pb(Fl)+pb(A)+H+loc,sigma.fo=~pb(Fl)+pb(A)+H+loc,
trace=FALSE)
AIC(r4, r6, r7)
## ----WP_BCCG1_CH1, echo=TRUE, fig.show='hide', fig.asp=1-----------------
wp(r6, ylim.all=.6) ; title("r6: BCCG(mu, sigma)")
wp(r7, ylim.all=.6) ; title("r7: BCCG(mu, sigma, nu)")
```

## ----eval=FALSE----------------------------------------------------------
## exercises Chapter 1
##-------------------------------------------------------------------------

```{r, eval=FALSE}
## data(airquality)
## plot(airquality[,-c(5,6)])
## ----eval=FALSE----------------------------------------------------------
## # Fit the standard linear model
## air.lm <- lm(Ozone~Temp+Wind+Solar.R,data=airquality)
## summary(air.lm)
## ----eval=FALSE----------------------------------------------------------
## op<-par(mfrow=c(1,3))
## termplot(air.lm,partial.resid=TRUE,se=T)
## par(op)
## ----eval=FALSE----------------------------------------------------------
## op<-par(mfrow=c(1,2))
## plot(air.lm,which=1:2)
## par(op)
## ----eval=FALSE----------------------------------------------------------
## library(gamlss)
## da <- na.omit(airquality) # clear the data of NA's
## mno<-gamlss(Ozone~Temp+Wind+Solar.R, data=da) # fit the model
## summary(mno)
## ----eval=FALSE----------------------------------------------------------
## term.plot(mno, pages=1, partial=T) # plot the fitted terms
## ----eval=FALSE----------------------------------------------------------
## plot(mno)
## wp(mno)
## ----eval=FALSE----------------------------------------------------------
## # fit different distributions
## mga <- gamlss(Ozone~Temp+Wind+Solar.R, data=da, family=GA)
## mig <- gamlss(Ozone~Temp+Wind+Solar.R, data=da, family=IG)
## mbccg <- gamlss(Ozone~Temp+Wind+Solar.R, data=da, family=BCCGo)
## GAIC(mno, mga, mig, mbccg)
## ----eval=FALSE----------------------------------------------------------
## # fit smoothers
## mga1=gamlss(Ozone~pb(Temp)+pb(Wind)+pb(Solar.R),data=da,
## family=GA)
## term.plot(mga1, pages=1)
## plot(mga1)
## wp(mga1)
#-----------------
```

## gamlss.demo()

```{r, eval=FALSE}
#install.packages("gamlss.demo", dep=TRUE)
Expand Down Expand Up @@ -203,3 +206,4 @@ gamlss.demo()
```


0 comments on commit 195bdd7

Please sign in to comment.