Learn R Programming

fda (version 6.2.0)

pinch: pinch force data

Description

151 measurements of pinch force during 20 replications with time from start of measurement.

Usage

pinch
pinchraw
pinchtime

Arguments

Format

pinch, pinchraw

Matrices of dimension c(151, 20) = 20 replications of measuring pinch force every 2 milliseconds for 300 milliseconds. The original data included 300 observations. pinchraw consists of the first 151 of the 300 observations. pinch selected 151 observations so the maximum of each curve occurred at 0.076 seconds.

pinchtime

time in seconds from the start = seq(0, 0.3, 151) = every 2 milliseconds.

Details

Measurements every 2 milliseconds.

References

Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.

Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.

Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.

Examples

Run this code
matplot (pinchtime, pinchraw, type="l", lty=1, cex=2,
         col=1, lwd=1,  xlab = "Seconds", ylab="Force (N)")
abline(h=2, lty=2)

matplot (pinchtime, pinch, type="l", lty=1, cex=2,
         col=1, lwd=1,  xlab = "Seconds", ylab="Force (N)")
abline(h=2, v=0.075, lty=2)

Run the code above in your browser using DataLab