Description Usage Arguments Value Author(s) See Also Examples
View source: R/reg.inspection.R
Calculate regression analysis parameters. The output returns the slope and intercept coefficients and their related p-value, the R^2, the adjusted R^2, and the residual degrees-of-freedom
1 | reg.inspection(db, ncomp)
|
db |
An input data frame with at least three column. A column with DateTime in standard format (yyyy-mm-dd HH:MM:SS) labeled "datetime", a column with flow records in cubic meter per second labeled "flow", and columns with scattered concentration data in milligram per litre. Alternatively, it can be used the output matrix of the function db.union. |
ncomp |
Number of compounds in the input data frame for which the load must be estimated. |
A matrix with the slope coefficient, the slope p-value, the intercept coefficient, the intercept p-value, the R^2, and the residual degrees-of-freedom for each compound.
Veronica Nava
1 2 3 | data("flow.data3", "conc.data3")
union<-db.union(flow.data3, conc.data3)
reg.parametrs<-reg.inspection(union, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.