shorts_model
objectR/shorts_S3.R
coef.shorts_model.Rd
S3 method for extracting model parameters from shorts_model
object
# S3 method for shorts_model coef(object, ...)
object |
|
---|---|
... | Extra arguments. Not used |
split_times <- data.frame( distance = c(5, 10, 20, 30, 35), time = c(1.20, 1.96, 3.36, 4.71, 5.35) ) # Simple model simple_model <- with( split_times, model_using_splits(distance, time) ) # unlist(simple_model$parameters) coef(simple_model)#> MSS TAU MAC PMAX #> 7.3937467 0.6377437 11.5936019 21.4300389 #> time_correction distance_correction #> 0.0000000 0.0000000