predict.fake_ddf {Distance} | R Documentation |
Prediction for fake detection functions
Description
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.
Usage
## S3 method for class 'fake_ddf'
predict(
object,
newdata = NULL,
compute = FALSE,
int.range = NULL,
esw = FALSE,
...
)
Arguments
object |
model object |
newdata |
how many 1s should we return? |
compute |
unused, compatibility with |
int.range |
unused, compatibility with |
esw |
should the strip width be returned? |
... |
for S3 consistency |
Author(s)
David L Miller
[Package Distance version 1.0.9 Index]