Created
September 1, 2017 15:54
-
-
Save franperezlopez/ce819eed960c10f33cecfd32168f8383 to your computer and use it in GitHub Desktop.
rMarkdown compilation flags using variables on eval
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```{r} | |
eval.trainModels=T | |
eval.pcaOptimization=T | |
``` | |
```{r eval=eval.pcaOptimization, include=eval.pcaOptimization} | |
# code applying PCA optimization | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment