Main changes
- Function - brokenstick()in version- 2.0.0sets the Kasim-Raudenbush sampler as the default method. The former method- lme4::lmer()remains available by setting- method = "lmer"argument.
- Version - 2.0.0adopts the variable names of the- codapackage (e.g.,- start,- end,- thin,- niter, and so on) and stores the results of the Kasim-Raudenbush sampler as objects of class- mcmc.
- For - method = "kr"one may now inspect the solution of the sampler by standard functions from the- codapackage. For- method = "lmer"we can apply functions from the- lme4package for- merModobjects.
- Version - 2.0.0redefines the- brokenstickclass. New entries include- call,- formula,- internal,- sample,- light,- data,- impand- mod. Removed entries are- knots(renamed to- internal) and- draws(renamed to- imp). We may omit the- newdataargument for the training data. Setting- light = TRUEcreates a small version of the- brokenstickobject. Objects of class- brokenstickare not backwards compatible, so one should regenerate objects of class- brokenstickin order use newer features in- 2.0.0.
- Version - 2.0.0conforms to classic model fitting interface in- R. Renames the- new_dataargument to- newdatato conform to- predict.lm(). Methods- plot()and- predict()no longer require a- newdataargument. All special cases of- predict()updated and explained in documentation and examples.
- Version - 2.0.0adds methods- coef(),- fitted(),- model.frame(),- model.matrix(),- print()and- summary()for the- brokenstickobject.
- Simplifies algorithmic control. Renames - control_brokenstick()to- set_control()and removes a layer in the control list.
- Added support for - hideargument in user-oriented functions. Automatic suppression of last knot.