dataCI | R Documentation |
Data.frame with data for testing the CI() (Contamination Index) function. Column 1: sample identification code. Column 2: onwards: measurement of chemical components of water used to calculate CI, expressed in ppm.
data("dataCI")
A data frame with 6 observations on the following 9 variables.
code
a character vector
phosphate
a numeric vector
nitrate
a numeric vector
nitrite
a numeric vector
ammonium
a numeric vector
dqo
a numeric vector
tkn
a numeric vector
organicmatter
a character vector
dbo
a numeric vector
# Including data.frame: dataCI in workspace.
data("dataCI")
# Column names of data.frame: dataCI
names(dataCI)
# Data set type of columns of data.frame: dataCI.
str(dataCI)
# Calculation of CI for the sample A1
#The following code should calculate the CI for the sample A1 included in dataCI, which
# is not acceptable as drinking water and is possibly contaminable.
CI("A1",dataCI)
#The following code should calculate the CI for the sample A2 included in dataCI, which
#is acceptable as drinking water and is hardly contaminable.
CI("A3",dataCI)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.