gait {datasets} | R Documentation |
Hip and Knee Angle while Walking
Description
Hip and knee angle (in degrees) through a 20 point movement cycle for 39 boys.
Usage
gait
Format
A 3-dimensional array with dimensions c(20, 39, 2)
giving the
"Hip Angle"
and "Knee Angle"
(in degrees) for 39 repetitions of
a 20 point gait cycle (over standardized gait times).
Details
The named components of dimnames(gait)
are as follows:
Time
seq(from = 0.025, to = 0.975, by = 0.05)
Subject
"boy1"
,"boy2"
, ...,"boy39"
Variable
"Hip Angle"
and"Knee Angle"
Note
This is the version of the data as in the fda package and
corresponding textbooks, but with named dimensions. One record appears to be
duplicated from the original paper,
Olshen, Biden, Wyatt, and Sutherland (1989), which
analyses a sample of 38 boys. The gait
dataset has 39 boys but
boy19
and boy26
have identical measurements.
Source
In the FDA book (2006), p.8, “The Motion Analysis Laboratory at Children's Hospital, San Diego, collected these data”.
References
Azzalini A, Bowman AW (1990). “A Look at Some Data on the Old Faithful Geyser.” Applied Statistics, 39(3), 357. doi:10.2307/2347385.
Olshen RA, Biden EN, Wyatt MP, Sutherland DH (1989). “Gait Analysis and the Bootstrap.” The Annals of Statistics, 17(4). doi:10.1214/aos/1176347372.
Ramsay J (2023). fda: Functional Data Analysis. doi:10.32614/CRAN.package.fda. R package version 6.1.4, https://CRAN.R-project.org/package=fda.
Ramsay J, Silverman BW (2005). Functional Data Analysis, series Springer Series in Statistics. Springer. ISBN 9780387400808.
Examples
plot(gait[, 1, ], type = "b",
xlim = range(gait[,,1]), ylim = range(gait[,,2]),
xlab = "Hip Angle", ylab = "Knee Angle", main = "'gait' data : Boy 1")
mtext("all other boys", col = "thistle"); grid()
matlines(gait[, -1, 1], gait[, -1, 2], type = "l", lty = 1, col = adjustcolor("thistle", 1/3))
## The data array, two matrices :
op <- options(width = 128) # on a wide console
aperm(gait, c(2:1, 3))
options(op)