Skip to contents

A data frame giving a series of measurements of head acceleration in a simulated motorcycle accident, used to test crash helmets.

Usage

mcycle_train

mcycle_test

Format

An object of class tbl_df (inherits from tbl, data.frame) with 89 rows and 2 columns.

An object of class tbl_df (inherits from tbl, data.frame) with 44 rows and 2 columns.

Source

Silverman, B. W. (1985) Some aspects of the spline smoothing approach to non-parametric curve fitting. Journal of the Royal Statistical Society series B 47, 1--52.

Details

This data is originally available as MASS::mcycle.

References

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S-PLUS. Fourth Edition. Springer.

Examples

mcycle_train
#> # A tibble: 89 × 2
#>    times accel
#>    <dbl> <dbl>
#>  1   2.4   0  
#>  2   2.6  -1.3
#>  3   3.6   0  
#>  4   4    -2.7
#>  5   6.6  -2.7
#>  6   6.8  -1.3
#>  7   8.2  -2.7
#>  8   8.8  -1.3
#>  9   9.6  -2.7
#> 10  10    -2.7
#> # ℹ 79 more rows

mcycle_test
#> # A tibble: 44 × 2
#>    times accel
#>    <dbl> <dbl>
#>  1   3.2  -2.7
#>  2   6.2  -2.7
#>  3   7.8  -2.7
#>  4   8.8  -2.7
#>  5  10.2  -5.4
#>  6  11.4   0  
#>  7  13.8   0  
#>  8  14.6  -5.4
#>  9  14.6 -22.8
#> 10  15.4 -32.1
#> # ℹ 34 more rows