knitr::read_chunk("chunks.R")
The associated repository is an R
package and installation will import a number of additional packages. The analysis also requires three additional packages used as time series analysis helpers. You will also need the workflowr
and devtools
packages.
install.packages("devtools") devtools::install_github("jdblischak/workflowr") # The project repository devtools::install_github("nateaff/eeg-complex") # The time series analysis packages devtools::install_github(c("nateaff/tssims", "nateaff/tsfeats", "nateaff/tssegment"))
Set the working directory to the project folder and load the package.
# Load project package devtools::load_all()
The project pages can be built and viewed with workflowr
. The pages will only be re-built if there are changes to the file. The individual analyses have a flag that indicates whether cached intermedidate data should be used in building the analysis. To build files from scratch set the from_cache
flag to FALSE
.
build_from_cache(FALSE)
This will only work for the files without the eeg-
prefix. The eeg
data files are not included in the repo so those files can't be built from scratch, sorry :(.
# This only builds the project analyses workflowr::wflow_build()
The full thesis is the docs/thesis
and can be built from the thesis.tex
file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.