-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.r-project.org/R/trunk@87723 00db46b3-68df-0310-9c12-caf00c1e9a41
- Loading branch information
maechler
committed
Feb 15, 2025
1 parent
2ec482f
commit f9e69e5
Showing
5 changed files
with
92 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
\name{gait} | ||
\title{Hip and Knee Angle while Walking} | ||
\docType{data} | ||
\alias{gait} | ||
\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 \code{c(20, 39, 2)} giving the | ||
\code{"Hip Angle"} and \code{"Knee Angle"} (in degrees) for 39 repetitions of | ||
a 20 point gait cycle (over standardized gait times). | ||
} | ||
\details{ | ||
The named components of \code{\link{dimnames}(gait)} are as follows: | ||
\describe{ | ||
\item{\code{Time}}{\code{seq(from = 0.025, to = 0.975, by = 0.05)}} | ||
\item{\code{Subject}}{\code{"boy1"}, \code{"boy2"}, ..., \code{"boy39"}} | ||
\item{\code{Variable}}{\code{"Hip Angle"} and \code{"Knee Angle"}} | ||
} | ||
} | ||
\references{ | ||
Olshen, R. A., Biden, E. N., Wyatt, M. P., and Sutherland, D. (1989) | ||
Gait Analysis and the Bootstrap. | ||
\emph{Annals of Statistics} \bold{17}, 4, 1419--1440. | ||
\doi{10.1214/AOS/1176347372} | ||
|
||
Ramsay, J. O., and Silverman, B. W. (2006) | ||
\emph{Functional Data Analysis}, 2nd ed., New York: Springer. | ||
|
||
Ramsay, J. (2023) \emph{fda: Functional Data Analysis}. | ||
R package version 6.1.4, \url{https://CRAN.R-project.org/package=fda}. | ||
} | ||
\source{ | ||
In the FDA book (2006), p.8, \emph{\dQuote{The Motion Analysis Laboratory at | ||
Children's Hospital, San Diego, collected these data}}. | ||
} | ||
\note{ | ||
This is the version of the data as in the \CRANpkg{fda} package and | ||
corresponding textbooks, but with named dimensions. One record appears to be | ||
duplicated from the original paper, Olshen \emph{et al.} (1989), which | ||
analyses a sample of 38 boys. The \code{gait} dataset has 39 boys but | ||
\code{boy19} and \code{boy26} have identical measurements. | ||
} | ||
\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) | ||
} | ||
\keyword{datasets} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters