S3 method for extracting model parameters from shorts_mixed_model object

# S3 method for shorts_mixed_model
coef(object, ...)

Arguments

object

shorts_mixed_model object

...

Extra arguments. Not used

Examples

data("split_times") mixed_model <- mixed_model_using_splits( data = split_times, distance = "distance", time = "time", athlete = "athlete" ) # mixed_model$parameters coef(mixed_model)
#> $fixed #> MSS TAU MAC PMAX #> 8.0649112 0.6551988 12.3091052 24.8179600 #> time_correction distance_correction #> 0.0000000 0.0000000 #> #> $random #> athlete MSS TAU MAC PMAX time_correction #> 1 James 9.691736 0.8469741 11.44278 27.72510 0 #> 2 Jim 7.833622 0.5048535 15.51663 30.38785 0 #> 3 John 7.780395 0.7274302 10.69573 20.80424 0 #> 4 Kimberley 8.569518 0.8022235 10.68221 22.88535 0 #> 5 Samantha 6.449284 0.3945129 16.34746 26.35735 0 #> distance_correction #> 1 0 #> 2 0 #> 3 0 #> 4 0 #> 5 0 #>