Skip to contents

S3 method for returning predictions of shorts_model

Usage

# S3 method for class 'shorts_model'
fitted(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)
fitted(simple_model)
#> [1] 1.721739 2.810500 3.849193 4.875922 5.899491