New features/changes:
-
Added the uniform distribution as a supported prior for delta parameters.
-
In
fit_geno_cline()
andfit_pheno_cline()
, added theignore_data
argument. This allows users to fit models using only their prior distributions, and the results of these models can be used to examine prior distributions and do prior predictive checks.
which can be used to run models without
- Tweaked which parameters are displayed with
cline_cummary()
whenshow.all = F
.
Behind the scenes:
- Restructuring of
Stan
model code to be more modular and to fix a bug in which unneeded parameers could impede model convergence.
New features/changes:
- Restructured package according to updated recommended structure in
rstantools
version2.0.0
.
New features/changes:
-
cline_summary()
now provides both posterior means and posterior medians for each parameter. -
predict_cline()
outputs best fit estimates based on both posterior means and posterior medians, andplot_cline()
can plot best-fit lines based on either of these best-fit estimates (defaults to posterior means). -
predict_cline()
andplot_cline()
can now output both HPDI credible intervals (the default) and equal-tail (ET) credible intervals.
Changes:
-
Deleting unnecessary files that prevented installation on Windows and Linux.
-
Remake corrupted file in test suite.
Changes:
- Consolidated
plot_geno_cline()
andplot_pheno_cline()
into a single function,plot_cline()
.
Behind the scenes:
- Streamlining of testing and argument checking for
plot_cline()
,predict_cline()
, andcline_summary()
functions.
New features:
-
Ability to add credible intervals when predicting clines and plotting clines.
-
Updated phenotypic models to allow three different variance structures: constant across sites, differing across sites, or a pooled hierachical model.
Bugfix update
- Fixes #57- A bug which caused bahz to always estimate increasing phenotypic clines, even when data were for a decreasing cline.
Major update implementing phenotypic clines:.
-
Fully implementeded for phenotypic clines (of normally distributed phenotypes), from simulated data to plotting.
-
Improved template for prior specifications with more explanation.
-
Unifies predict_*_cline functions.
-
Adds support for new prior distributions: beta distributions for pmin, pmax, tauL, rauR, tauM, and f, and normal distributions for pmin and pmax.
-
Added a citation file.
-
Some minor typo fixes.
First entry in the NEWS.md file. Beta, working version of the package.
-
Fully implemented for genetic clines: from simulated data to plotting
-
All functions documented
-
All functions tested
-
R CMD check passes with 1 note (on GNU make requirement).