Main changes
Function
brokenstick()
in version2.0.0
sets the Kasim-Raudenbush sampler as the default method. The former methodlme4::lmer()
remains available by settingmethod = "lmer"
argument.Version
2.0.0
adopts the variable names of thecoda
package (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 thecoda
package. Formethod = "lmer"
we can apply functions from thelme4
package formerMod
objects.Version
2.0.0
redefines thebrokenstick
class. New entries includecall
,formula
,internal
,sample
,light
,data
,imp
andmod
. Removed entries areknots
(renamed tointernal
) anddraws
(renamed toimp
). We may omit thenewdata
argument for the training data. Settinglight = TRUE
creates a small version of thebrokenstick
object. Objects of classbrokenstick
are not backwards compatible, so one should regenerate objects of classbrokenstick
in order use newer features in2.0.0
.Version
2.0.0
conforms to classic model fitting interface inR
. Renames thenew_data
argument tonewdata
to conform topredict.lm()
. Methodsplot()
andpredict()
no longer require anewdata
argument. All special cases ofpredict()
updated and explained in documentation and examples.Version
2.0.0
adds methodscoef()
,fitted()
,model.frame()
,model.matrix()
,print()
andsummary()
for thebrokenstick
object.Simplifies algorithmic control. Renames
control_brokenstick()
toset_control()
and removes a layer in the control list.Added support for
hide
argument in user-oriented functions. Automatic suppression of last knot.