R Dataset / Package DAAG / elastic1


On this R-data 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
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-daag-elastic1.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-27228.csv 70 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.