Internal function that is called by krls
to computes first differences for binary predictors in the X matrix. It would normally not be called by the user directly.
fdskrls(object,…)
Object from call to krls
.
additional arguments to be passed to lower level functions
A object of class krls
where the derivatives, average derivatives, and the varinaces of the average derivatives are
replaced with the first differences for binary predictors. The binaryindicator is also updated and set to TRUE for binary predictors.