Skip to contents

S3 method for returning residuals of shorts_model

Usage

# S3 method for class 'shorts_model'
residuals(object, ...)

Arguments

object

shorts_model object

...

Extra arguments. Not used

Examples

split_distances <- c(10, 20, 30, 40, 50)
split_times <- create_timing_gates_splits(
  gates = split_distances,
  MSS = 10,
  MAC = 9,
  FD = 0.25,
  TC = 0
)

# Simple model
simple_model <- model_timing_gates(split_distances, split_times)
residuals(simple_model)
#> [1] -0.023346388  0.010889122  0.015046445  0.004821001 -0.012175794