Skip to contents

Takes a named list with an estimate of the proportions and the associated lineage matrix, performs matrix multiplication to predict outcomes, and returns results in the same order as the original data.

Usage

# S3 method for provoc
predict(
  provoc_obj,
  newdata = NULL,
  type = NULL,
  dispersion = NULL,
  terms = NULL
)

Arguments

provoc_obj

Output of provoc

newdata

Not yet implemented.

type

Not yet implemented.

dispersion

Not yet implemented.

terms

Not yet implemented.

Value

Predicted values in the same order as the input data.

Examples

predicted_results <- predict(provoc_obj)