These data are taken from Aitchison (2003) and contain information on the relation of sediment composition with depth in an Arctic lake.
Usage
ArcticLake
Format
A data frame with 39 observations on the following 4 variables:
sand, silt, clay
relative frequencies of sand, silt, and clay
depth
water depth in meters
Source
Aitchison, J. (2003). The Statistical Analysis of Compositional Data. The Blackburn Press, Caldwell, NJ.
Examples
head(ArcticLake)
AL <- DR_data(ArcticLake[,1:3])
plot(AL)
summary(AL)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(DirichletReg)
Loading required package: Formula
Loading required package: rgl
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/DirichletReg/ArcticLake.Rd_%03d_medium.png", width=480, height=480)
> ### Name: ArcticLake
> ### Title: Arctic Lake Data (Aitchison)
> ### Aliases: ArcticLake
> ### Keywords: datasets
>
> ### ** Examples
>
> head(ArcticLake)
sand silt clay depth
1 0.775 0.195 0.030 10.4
2 0.719 0.249 0.032 11.7
3 0.507 0.361 0.132 12.8
4 0.522 0.409 0.066 13.0
5 0.700 0.265 0.035 15.7
6 0.665 0.322 0.013 16.3
> AL <- DR_data(ArcticLake[,1:3])
Warning in DR_data(ArcticLake[, 1:3]) :
not all rows sum up to 1 => normalization forced
> plot(AL)
> summary(AL)
This object contains compositional data with 3 dimensions.
Number of observations: 39 of which 39 ( 100% ) are valid.
Note: The data were normalized.
>
>
>
>
>
> dev.off()
null device
1
>