-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.Rmd
69 lines (52 loc) · 3.04 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
57
58
59
60
61
62
63
64
65
66
67
68
---
title: Graphical & Latent Variable Modeling
author: |
<span class="noem">Michael Clark</span>
https://m-clark.github.io/
<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: [book.bib, packages.bib]
biblio-style: apalike
link-citations: yes
description: "This document focuses on structural equation modeling. It is conceptually based, and tries to generalize beyond the standard SEM treatment. It includes special emphasis on the lavaan package. Topics include: graphical models, including path analysis, bayesian networks, and network analysis, mediation, moderation, latent variable models, including principal components analysis and 'factor analysis', measurement models, structural equation models, mixture models, growth curves, item response theory, Bayesian nonparametric techniques, latent dirichlet allocation, and more."
cover-image: 'img/nineteeneightyR.png'
favicon: 'img/R.ico'
url: 'https\://m-clark.github.io/sem/' # evidently the \: is required or you'll get text in the title/toc area
github-repo: 'm-clark/sem/'
---
```{r setup_chunkopts, include=FALSE, cache=FALSE}
knitr::opts_chunk$set(echo = TRUE, comment=NA, message = FALSE, warning=FALSE, R.options=list(width=120),
cache.rebuild=F, cache=FALSE,
fig.align='center', dev = 'svg', dev.args=list(bg = 'transparent'))
knitr::clean_cache()
```
```{r setup_packages, echo=FALSE, cache=FALSE}
library(tidyverse); library(htmltools); library(visibly); library(tidyext)
library(pander); library(lavaan); library(kableExtra)
kable_df = function(..., digits = 3) kable(..., digits = digits) %>% kable_styling(full_width = F)
```
```{r setup_bib, include=FALSE}
# automatically create a bib database for R packages; just run every once in a while (on most updated machine)
# knitr::write_bib(c(.packages(), 'bookdown', 'knitr', 'rmarkdown'), 'packages.bib')
# Diagrammer continues to become more problematic in markdown with each update,
# consistently somehow shows the WRONG visual,cache or no cache, and is
# difficult to debug; will sometimes throw a random error where there was no
# previous issue but ONLY in the document, not in the bookdown build process;
# might ignore the transparent background even. just save the img and display
# accordingly until issues are resolved.
# as of 2018-9 semTools consistently throws namespace errors (not related to cache) when building book; so creating objects and then saving out to read in
```
##### {-}
```{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)
```
<!-- Empty pound will allow for one to create a single title page -->