TSSS {AQuality} | R Documentation |

## Total Soluble Solids Summation

### Description

Plot total soluble solids summation as a function of total soluble solids measurement.

### Usage

```
TSSS(sample, data, conflevel = 0.95, pchdata = 19, coldata = "green", cexdata = 0.5,
pchsample = 19, colsample = "red", cexsample = 3, xaxis = "TOTAL SOLUBLE SOLIDS",
yaxis = "MASS SUMMATION", title = paste("Sample ", as.character(sample)),
linetyprediction = 2, linewidthprediction = 1, linecolorprediction = 5)
```

### Arguments

`sample` |
Code of the sample whose quality you want to know. |

`data` |
Data.frame containing code of the database samples, total soluble solids, measurements of other water components. |

`conflevel` |
Significance level used in the predict function. |

`pchdata` |
Symbol used to graph all the data in the data.frame. |

`coldata` |
Color of the symbols of all the data in the data.frame. |

`cexdata` |
Symbol size of all data in the data frame. |

`pchsample` |
Symbol chosen to represent the point whose measurement quality is to be represented. |

`colsample` |
Color chosen to represent the point whose measurement quality is to be represented. |

`cexsample` |
Size of the symbol chosen to represent the point whose measurement quality is to be represented. |

`xaxis` |
X axis label. |

`yaxis` |
Y axis label. |

`title` |
Title of the graph including the code of the chosen sample. |

`linetyprediction` |
Linear model prediction line type. |

`linewidthprediction` |
Linear model prediction line thickness. |

`linecolorprediction` |
Linear model prediction line color. |

### Details

The TSSS() function performs a linear model using column 2 (total soluble solids) as the dependent variable and the other components of water as independent variables (columns 3 onwards). Based on the linear model, a data prediction interval is obtained with a certain confidence level (conflevel). Then, TSSS() graphs the values of the entire database and finally graphs as a point with different color, the sample whose measurement quality you want to observe.

### Value

The TSSS() function returns a graph of the sum of soluble solids as a function of the measurement of total soluble solids for each sample. It contains the confidence interval and the sample under observation indicated in a dotted line. If the point that represents the sample is within the region delimited by the lines of the confidence interval, it is presumed that there were no serious measurement errors of the components analyzed.

### Author(s)

Maela Lupo, Andrea Porpatto, Alfredo Rigalli

*AQuality*version 1.0 Index]