-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.Rmd
56 lines (44 loc) · 2.05 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: Clustered Data
author: |
<span class="noem">Michael Clark</span>
<a href='https://m-clark.github.io/'>m-clark.github.io</a>
<img class='arc' src="img/signature-acronym.png" alt="University of Michigan: CSCAR">
<img class='cscar' src="img/ARC-acronym-signature.png" alt="University of Michigan: Advanced Research Computing">
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output:
bookdown::gitbook
always_allow_html: yes
documentclass: book
# bibliography: refs.bib
biblio-style: apalike
url: 'https\://m-clark.github.io/clustered-data/' # evidently the \: is required or you'll get text in the title/toc area
favicon: 'img/R.ico'
github-repo: 'm-clark/clustered-data/'
description: "This document provides a brief comparison of various approaches to dealing with clustered data situations."
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = T, message=F, warning=F, error=F, comment=NA, R.options=list(width=220), # code
dev.args=list(bg = 'transparent'), dev='svglite', # viz
fig.align='center', out.width='75%', fig.asp=.75,
cache.rebuild=F, cache=T) # cache
```
```{r loadpacks, include=FALSE, cache=FALSE, results='hide'}
library(magrittr); library(pander); library(plotly); library(tidyverse); library(tidyext); library(visibly)
library(broom); library(htmltools)
mapply(function(o, v) panderOptions(o, v),
c('keep.trailing.zeros', 'round', 'table.split.table', 'table.split.cells'),
c(TRUE, 2, Inf, Inf))
```
```{r bib, include=FALSE}
# automatically create a bib database for R packages
knitr::write_bib(c(.packages(), 'bookdown', 'knitr', 'rmarkdown'), 'packages.bib')
```
##### {-}
```{r rimg, fig.align='center', out.width=200, echo=FALSE, cache=FALSE}
knitr::include_graphics('img/198R.png', dpi = NA)
```
```{r ccimg, fig.align='center', out.width=0, fig.show='hide', echo=FALSE}
knitr::include_graphics('img/mc_logo.png', dpi = NA)
```