R Dataset / Package MASS / Skye
Attachment | Size |
---|---|
dataset-20551.csv | 214 bytes |
Documentation |
---|
On this Picostat.com statistics page, you will find information about the Skye data set which pertains to AFM Compositions of Aphyric Skye Lavas. The Skye data set is found in the MASS R package. Try to load the Skye data set in R by issuing the following command at the console data("Skye"). This may load the data into a variable called Skye. If R says the Skye data set is not found, you can try installing the package by issuing this command install.packages("MASS") and then attempt to reload the data with library("MASS") followed by data("Skye"). Perhaps strangley, if R gives you no output after entering a command, it means the command succeeded. If it succeeded you can see the data by typing Skye at the command-line which should display the entire dataset. 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 Skye R data set. The size of this file is about 214 bytes. AFM Compositions of Aphyric Skye LavasDescriptionThe UsageSkye FormatThis data frame contains the following columns:
SourceR. N. Thompson, J. Esson and A. C. Duncan (1972) Major element chemical variation in the Eocene lavas of the Isle of Skye. J. Petrology, 13, 219–253. ReferencesJ. Aitchison (1986) The Statistical Analysis of Compositional Data. Chapman and Hall, p.360. Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer. Examples# ternary() is from the on-line answers. ternary <- function(X, pch = par("pch"), lcex = 1, add = FALSE, ord = 1:3, ...) { X <- as.matrix(X) if(any(X < 0)) stop("X must be non-negative") s <- drop(X %*% rep(1, ncol(X))) if(any(s<=0)) stop("each row of X must have a positive sum") if(max(abs(s-1)) > 1e-6) { warning("row(s) of X will be rescaled") X <- X / s } X <- X[, ord] s3 <- sqrt(1/3) if(!add) { oldpty <- par("pty") on.exit(par(pty=oldpty)) par(pty="s") plot(c(-s3, s3), c(0.5-s3, 0.5+s3), type="n", axes=FALSE, xlab="", ylab="") polygon(c(0, -s3, s3), c(1, 0, 0), density=0) lab <- NULL if(!is.null(dn <- dimnames(X))) lab <- dn[[2]] if(length(lab) < 3) lab <- as.character(1:3) eps <- 0.05 * lcex text(c(0, s3+eps*0.7, -s3-eps*0.7), c(1+eps, -0.1*eps, -0.1*eps), lab, cex=lcex) } points((X[,2] - X[,3])*s3, X[,1], ...) }ternary(Skye/100, ord=c(1,3,2)) -- Dataset imported from https://www.r-project.org. |
Picostat Manual |
---|
How To Register With a Username
How To Register With Google Single Sign On (SSO)
How To Login With a Username and Password
How To Login With Google Single Sign On (SSO)
How To Import a Dataset
How To Perform Statistical Analysis with Picostat
How To Use Educational Applications with Picostat
|
Recent Queries For This Dataset |
---|
No queries made on this dataset yet. |
Title | Authored on | Content type |
---|---|---|
OpenIntro Statistics Dataset - unemploy_pres | August 9, 2020 - 2:38 PM | Dataset |
OpenIntro Statistics Dataset - house | August 9, 2020 - 12:25 PM | Dataset |
R Dataset / Package evir / nidd.annual | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package Stat2Data / WeightLossIncentive4 | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HSAUR / clouds | March 9, 2018 - 1:06 PM | Dataset |