R Code Files - 1st Edition (2015)

For 2nd edition, see: Code Files for 2nd Edition

Chapters 2-13 each have an accompanying .R code file. You can access the code files one at a time, or as a single ZIP file with all chapters at once.

Other code

Rcbc.R is a set of utility functions in R for simulating conjoint surveys, estimating models, doing market simulation and other tasks. For documentation, read the inline comments thoroughly and run the examples located in if (FALSE) blocks in the code.

R-Forge Project Access

Direct access to the R-Forge project site (not generally needed) is here: https://r-forge.r-project.org/projects/r-marketing/