adjustPredictions: Adjust the predictions

Description Usage Arguments

View source: R/cross-validation.R

Description

Due to rounding, too many or too few predictions may be made. This functions makes the adjustments in a reasonable manner

Usage

1
  adjustPredictions(predictions, probabilities, n)

Arguments

predictions

An integer vector of the number of each category that have been predicted.

probabilities

A vector of probabilities

n

How many predictions should there be


rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.