predict.fake_ddf {dsm}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, for compatability with predict from mrds

int.range

unused, for compatability with predict from mrds

esw

should the strip width be returned?

...

for S3 consistency

Author(s)

David L Miller


[Package dsm version 2.3.1 Index]