# R options & configuration: set.seed(123) suppressPackageStartupMessages(library("knitr")) suppressPackageStartupMessages(library("LearnPCA")) suppressPackageStartupMessages(library("xtable")) # Stuff specifically for knitr: opts_chunk$set(eval = TRUE, echo = TRUE, results = "show")
res <- knitr::knit_child("top_matter.md", quiet = TRUE) cat(res, sep = '\n')
This vignette collects bits of information and answers to questions we have received from our readers, as well as some tips and warnings that may be useful.
Shinn reports that PCA on data which may be shifted in space or time can give "phantom oscillations" that don't exist in the data. His context is neuroscience but one should be careful with this type of data.
A reader asked if one should center ordinal survey responses, for instance responses on a 1-5 scale. We didn't know the answer, but after some discussion and research we found there is an R
package Gifi designed for just this case. There's also a tutorial here. Both of these resources use concepts published in a book by Gifi (1990).
res <- knitr::knit_child("refer_to_works_consulted.md", quiet = TRUE) cat(res, sep = '\n')
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.