S3 method for making predictions using shorts_model
Usage
# S3 method for class 'shorts_model'
predict(object, ...)
Arguments
- object
shorts_model
object- ...
Forwarded to generic
predict()
function
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)
predict(simple_model)
#> [1] 1.721739 2.810500 3.849193 4.875922 5.899491