Prediction function for dummy detection functions. The function returns as
many 1s as there are rows in newdata
. If esw=TRUE
then the
strip width is returned.
# S3 method for fake_ddf
predict(
object,
newdata = NULL,
compute = FALSE,
int.range = NULL,
esw = FALSE,
...
)
model object
how many 1s should we return?
unused, compatibility with mrds::predict
unused, compatibility with mrds::predict
should the strip width be returned?
for S3 consistency
David L Miller