Learn R Programming

ACSWR (version 1.0)

nerve: The Nerve Data

Description

The Nerve data set has been popularized by Cox and Lewis (1966). In this experiment 799 waiting times are recorded for successive pulses along a nerve fiber.

Usage

data(nerve)

Arguments

Format

The format is: num [1:799] 0.21 0.03 0.05 0.11 0.59 0.06 0.18 0.55 0.37 0.09 ...

Source

Cox, D. and Lewis, P. (1966). The Statistical Analysis of Series of Events. Chapman & Hall.

Examples

Run this code
data(nerve)
nerve_ecdf <- ecdf(nerve)
knots(nerve_ecdf) # Returns the jump points of the edf
summary(nerve_ecdf) # the usual R summaries
nerve_ecdf(nerve) # returns the percentiles at the data points

Run the code above in your browser using DataLab