predict.fake_ddf: Prediction for fake detection functions

View source: R/dummy_ddf.R

predict.fake_ddfR 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 mrds::predict

int.range

unused, compatibility with mrds::predict

esw

should the strip width be returned?

...

for S3 consistency

Author(s)

David L Miller


Distance documentation built on Oct. 24, 2024, 5:08 p.m.