Vignettes
The book is accompanied by three vignettes that provide hands-on documentation for the PCRA R package and its data. Click any title below to view the vignette PDF.
1 Current vignettes
Structure and contents of the PCRA package: the 31 included data sets,
the two package versions (CRAN and development), data.table basics, the
CRSP and SPGMI datasets, and the non-open-source data policy.
Deep dive into stocksCRSPmonthly and factorsSPGMI: data structure,
monthly, weekly and daily CRSP data, monthly SPGMI factor exposures, the
selectCRSPandSPGMI function, xts time series manipulation,
sector/capitalization subsetting.
How to access and run the demo R scripts that reproduce most of the figures
and tables in the chapters: the demo() command, copy/paste workflow,
sourcing with rstudioapi, character of the scripts, and setup of
devtools and Rtools.
2 Copyright
Copyright © 2026 R. Douglas Martin, Thomas K. Philips, Bernd Scherer, and Kirk Li. This material is planned for publication in 2026 by Springer. All rights reserved. No part of these materials may be reproduced, distributed, or transmitted in any form without prior written permission of the authors.