Skip to contents

Performs reliability analysis and outputs a concise summary of key metrics. The results can also be visualized.

Usage

reliability(x, ...)

# S3 method for class 'tna'
reliability(
  x,
  types = "relative",
  split = 0.5,
  iter = 1000,
  scaling = "none",
  ...
)

Arguments

x

A tna object.

...

Ignored.

types

A character vector giving the model types to fit. See build_model() for available options.

split

A numeric value between 0 and 1 specifying the proportion of data for the split. The default is 0.5 for an even split.

iter

An integer specifying number of iterations (splits). The default is 1000.

scaling

See compare().

Value

A tna_reliability object.

Examples

# Small number of iterations for CRAN
model <- tna(engagement)
rel <- reliability(model, iter = 20)