dataCI: Data Sets~~

dataCIR Documentation

Data Sets~~

Description

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.

Usage

data("dataCI")

Format

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

Examples

# 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)

AQuality documentation built on April 13, 2025, 5:09 p.m.