Main changes
Function
brokenstick()in version2.0.0sets the Kasim-Raudenbush sampler as the default method. The former methodlme4::lmer()remains available by settingmethod = "lmer"argument.Version
2.0.0adopts the variable names of thecodapackage (e.g.,start,end,thin,niter, and so on) and stores the results of the Kasim-Raudenbush sampler as objects of classmcmc.For
method = "kr"one may now inspect the solution of the sampler by standard functions from thecodapackage. Formethod = "lmer"we can apply functions from thelme4package formerModobjects.Version
2.0.0redefines thebrokenstickclass. New entries includecall,formula,internal,sample,light,data,impandmod. Removed entries areknots(renamed tointernal) anddraws(renamed toimp). We may omit thenewdataargument for the training data. Settinglight = TRUEcreates a small version of thebrokenstickobject. Objects of classbrokenstickare not backwards compatible, so one should regenerate objects of classbrokenstickin order use newer features in2.0.0.Version
2.0.0conforms to classic model fitting interface inR. Renames thenew_dataargument tonewdatato conform topredict.lm(). Methodsplot()andpredict()no longer require anewdataargument. All special cases ofpredict()updated and explained in documentation and examples.Version
2.0.0adds methodscoef(),fitted(),model.frame(),model.matrix(),print()andsummary()for thebrokenstickobject.Simplifies algorithmic control. Renames
control_brokenstick()toset_control()and removes a layer in the control list.Added support for
hideargument in user-oriented functions. Automatic suppression of last knot.