## list all files
showExample() ## 2nd edition is default
showExample(edition = 1)
## list specific files
showExample("Appendix")
showExample("Backtesting")
showExample("Heuristics")
showExample("tutorial") ## matches against filename
showExample(chapter = 13)
showExample(chapter = "tutorial")
## show where a file is installed
showExample(chapter = "portfolio", includepaths = TRUE)
## first edition
showExample("equations.R", edition = 1)
showExample("example", chapter = "portfolio", edition = 1)
showExample("example", chapter = 13, edition = 1)
showExample("example", chapter = showChapterNames(1)[13L], edition = 1)
Run the code above in your browser using DataLab