Defining the matrices needed for the comparison test (regression model)
F.data.reg(x, modtwo, ...)
matrix or data.frame with the data.
vector indicating the binary partition.
Further arguments passed on to F.data.reg
.
list containing matrices needed for the comparison test
Internal function. F.data.reg
is called by test.partition.reg
.