R Dataset / Package DAAG / elastic1


On this Picostat.com statistics page, you will find information about the elastic1 data set which pertains to Elastic Band Data Replicated. The elastic1 data set is found in the DAAG R package. You can load the elastic1 data set in R by issuing the following command at the console data("elastic1"). This will load the data into a variable called elastic1. If R says the elastic1 data set is not found, you can try installing the package by issuing this command install.packages("DAAG") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the elastic1 R data set. The size of this file is about 70 bytes.

Elastic Band Data Replicated


The elastic1 data frame has 7 rows and 2 columns giving, for each amount by which an elastic band is stretched over the end of a ruler, the distance that the band traveled when released.




This data frame contains the following columns:


the amount by which the elastic band was stretched


the distance traveled


J. H. Maindonald


plot(elastic1)print("Inline Functions - Example 12.2.2")
sapply(elastic1, mean)
pause()sapply(elastic1, function(x)mean(x))
pause()sapply(elastic1, function(x)sum(log(x)))
pause()print("Data Output - Example 12.3.2")
write.table(elastic1, file="bandsframe.txt")

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-27228.csv 70 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0