-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding the ability to customise prior parameters to all models. (#57)
* Updated stan files to have priors as a data argument for all top-level parameters. * Changed affine model parameterisation. Updated vB model prior names to specify that max size adjust SD only. Updated models function to include default values. * Added type specification to data structures for prior parameters because I am a dingus who forgot the first time almost everywhere. * Removed misplaced code in Canham stan code. * Updated vignettes to address the prior structure and talk about how to change the default values. * Updated here be dragons short to comply with the new prior format. Moved the pre-print PDF to inst/include because it turns out that building the package locally deletes the inst/doc directory so there's a reason it was in the gitignore file. * Put inst/doc/ back in the gitignore. * Corrected index for SD prior ind_beta_1 so it's not defaulting to 0. * Patching errors in testing. * Correcting vignettes to load hmde before trying to use it. * Added the used prior parameters to the generated quantities in order to allow the user to check values. * Why oh why won't my generated quantites update? * Trying different initialisation/assignment structure. * Updated testing to correctly count the prior check parameters. * Changed the assign data structure to account for different configurations of provided priors. Updated testing to reflect this. * Added some assignment of plots.
- Loading branch information
1 parent
c06e858
commit ed21d97
Showing
22 changed files
with
318 additions
and
86 deletions.
There are no files selected for viewing
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
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
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
File renamed without changes.
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
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
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
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
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
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
Oops, something went wrong.