Skip to content

Instantly share code, notes, and snippets.

@sckott
Created October 11, 2022 01:27
Show Gist options
  • Save sckott/707e7903d5ae13bd2b62f33277563ef1 to your computer and use it in GitHub Desktop.
Save sckott/707e7903d5ae13bd2b62f33277563ef1 to your computer and use it in GitHub Desktop.
gist gist gist

Stuff and things

head of mtcars

head(mtcars)
##                    mpg cyl disp  hp drat    wt  qsec vs am gear carb
## Mazda RX4         21.0   6  160 110 3.90 2.620 16.46  0  1    4    4
## Mazda RX4 Wag     21.0   6  160 110 3.90 2.875 17.02  0  1    4    4
## Datsun 710        22.8   4  108  93 3.85 2.320 18.61  1  1    4    1
## Hornet 4 Drive    21.4   6  258 110 3.08 3.215 19.44  1  0    3    1
## Hornet Sportabout 18.7   8  360 175 3.15 3.440 17.02  0  0    3    2
## Valiant           18.1   6  225 105 2.76 3.460 20.22  1  0    3    1

head of iris

head(iris)
##   Sepal.Length Sepal.Width Petal.Length Petal.Width Species
## 1          5.1         3.5          1.4         0.2  setosa
## 2          4.9         3.0          1.4         0.2  setosa
## 3          4.7         3.2          1.3         0.2  setosa
## 4          4.6         3.1          1.5         0.2  setosa
## 5          5.0         3.6          1.4         0.2  setosa
## 6          5.4         3.9          1.7         0.4  setosa
{"package":"zoo","description":{"Package":"zoo","Version":"1.7-11","Depends":"R (>= 2.10.0), stats","Imports":"utils, graphics, grDevices, lattice (>= 0.20-27)","Suggests":"coda, chron, DAAG, fts, its, ggplot2, mondate, scales,\nstrucchange, timeDate, timeSeries, tis, tseries, xts","License":"GPL-2 | GPL-3","NeedsCompilation":"yes"},"snapshotId":"2014-06-17_2300","snapshotDate":"2014-06-17_2300","snapshotDiffId":"19293838-12312323","compatibitlityCheck":{},"source":{"0.1-1":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_0.1-1.tar.gz","0.1-2":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_0.1-2.tar.gz","0.1-3":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_0.1-3.tar.gz","0.1-4":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_0.1-4.tar.gz","0.2-0":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_0.2-0.tar.gz","0.9-1":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_0.9-1.tar.gz","0.9-9":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_0.9-9.tar.gz","1.0-0":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.0-0.tar.gz","1.0-1":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.0-1.tar.gz","1.0-2":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.0-2.tar.gz","1.0-3":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.0-3.tar.gz","1.0-4":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.0-4.tar.gz","1.0-5":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.0-5.tar.gz","1.0-6":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.0-6.tar.gz","1.0-7":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.0-7.tar.gz","1.1-0":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.1-0.tar.gz","1.1-1":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.1-1.tar.gz","1.2-0":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.2-0.tar.gz","1.2-1":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.2-1.tar.gz","1.2-2":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.2-2.tar.gz","1.3-0":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.3-0.tar.gz","1.3-1":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.3-1.tar.gz","1.3-2":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.3-2.tar.gz","1.4-0":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.4-0.tar.gz","1.4-1":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.4-1.tar.gz","1.4-2":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.4-2.tar.gz","1.5-0":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.5-0.tar.gz","1.5-2":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.5-2.tar.gz","1.5-3":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.5-3.tar.gz","1.5-4":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.5-4.tar.gz","1.5-5":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.5-5.tar.gz","1.5-6":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.5-6.tar.gz","1.5-7":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.5-7.tar.gz","1.5-8":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.5-8.tar.gz","1.6-0":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.6-0.tar.gz","1.6-1":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.6-1.tar.gz","1.6-2":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.6-2.tar.gz","1.6-3":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.6-3.tar.gz","1.6-4":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.6-4.tar.gz","1.6-5":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.6-5.tar.gz","1.7-0":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-0.tar.gz","1.7-10":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-10.tar.gz","1.7-1":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-1.tar.gz","1.7-2":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-2.tar.gz","1.7-3":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-3.tar.gz","1.7-4":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-4.tar.gz","1.7-5":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-5.tar.gz","1.7-6":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-6.tar.gz","1.7-7":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-7.tar.gz","1.7-8":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-8.tar.gz","1.7-9":"http://cran.r-project.org/src/contrib/Archive/zoo/zoo_1.7-9.tar.gz"},"windows":{"R3.2":"http://cran.r-project.org/bin/windows/contrib/3.2/zoo_1.7-11.zip","R3.1":"http://cran.r-project.org/bin/windows/contrib/3.1/zoo_1.7-11.zip","R3.0":"http://cran.r-project.org/bin/windows/contrib/3.0/zoo_1.7-11.zip"},"osx":{"R3.1":"http://cran.r-project.org/bin/macosx/contrib/3.1/zoo_1.7-11.tgz","R3.0":"http://cran.r-project.org/bin/macosx/contrib/3.0/zoo_1.7-11.tgz","R3.1_mavericks":"http://cran.r-project.org/bin/macosx/mavericks/contrib/3.1/zoo_1.7-11.tgz"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment