7 An outline of what goes where
A brief description of what (generally) goes into each the various files/folders.
/R
- Contains all the model functions and corresponding .fit functions (e.g.
stan_glm
andstan_glm.fit
).
/exec
and /inst/chunks
- The
/inst/chunks
folder contains reusable snippits of Stan code. The/exec
folder contains the Stan models that are used in the relevant R function. For example,continuous.stan
contains all the models that can be declared bystan_glm
(as well as some others). You can view the compiled model in R by executingrstanarm:::stanmodels$continuous
.
data
- Example data used in the examples/tests.
man-roxygen
- Templates for documentation.
man
- Don’t edit any documentation here (changes will get overwritten when rebuilding the package).
tests/testthat
- Tests run using the testthat package.
R/misc.R
- Contains a bunch of helper functions.