Skip to contents

Prints the information from the runGroups function. This could be used to save the output to a text file.

Usage

printGroups(eList, groupResults)

Arguments

eList

named list with at least the Daily, Sample, and INFO dataframes

groupResults

output of runGroups.

Value

text to console

Examples

eList <- Choptank_eList

# \donttest{
groupOut_1 <- runGroups(eList,  windowSide = 0,
                        group1firstYear = 1980, group1lastYear = 1990,
                        group2firstYear = 1995, group2lastYear = 2005)
#> Survival regression (% complete):
#> 0 	1 	2 	3 	4 	5 	6 	7 	8 	9 	10 	
#> 11 	12 	13 	14 	15 	16 	17 	18 	19 	20 	
#> 21 	22 	23 	24 	25 	26 	27 	28 	29 	30 	
#> 31 	32 	33 	34 	35 	36 	37 	38 	39 	40 	
#> 41 	42 	43 	44 	45 	46 	47 	48 	49 	50 	
#> 51 	52 	53 	54 	55 	56 	57 	58 	59 	60 	
#> 61 	62 	63 	64 	65 	66 	67 	68 	69 	70 	
#> 71 	72 	73 	74 	75 	76 	77 	78 	79 	80 	
#> 81 	82 	83 	84 	85 	86 	87 	88 	89 	90 	
#> 91 	92 	93 	94 	95 	96 	97 	98 	99 	
#> Survival regression: Done
#>    Choptank River 
#>    Inorganic nitrogen (nitrate and nitrite)
#>    Water Year 
#> 
#>  Change estimates for
#>  average of 1995  through 2005  minus average of 1980  through 1990 
#> 
#>  For concentration: total change is  0.226 mg/L
#>  expressed as Percent Change is  +22.17 %
#> 
#>  Concentration v. Q Trend Component  +22.17 % 
#>        Q Trend Component              0 %  
#> 
#> 
#>  For flux: total change is  0.022 million kg/year
#>  expressed as Percent Change is  +18.99 % %
#> 
#>  Concentration v. Q Trend Component  +18.99 % 
#>        Q Trend Component             0  
#> 
#>      TotalChange  CQTC QTC  x10  x11  x20  x22
#> Conc       0.226 0.226   0 1.02 1.02 1.24 1.24
#> Flux       0.022 0.022   0 0.12 0.12 0.14 0.14
                       
printGroups(eList, groupOut_1)
#> 
#>    Choptank River 
#>    Inorganic nitrogen (nitrate and nitrite)
#>    Water Year 
#> 
#>  Change estimates for
#>  average of 1995  through 2005  minus average of 1980  through 1990 
#> 
#>  For concentration: total change is  0.226 mg/L
#>  expressed as Percent Change is  +22.17 %
#> 
#>  Concentration v. Q Trend Component  +22.17 % 
#>        Q Trend Component              0 %  
#> 
#> 
#>  For flux: total change is  0.022 million kg/year
#>  expressed as Percent Change is  +18.99 % %
#> 
#>  Concentration v. Q Trend Component  +18.99 % 
#>        Q Trend Component             0  
#> 
#>      TotalChange  CQTC QTC  x10  x11  x20  x22
#> Conc       0.226 0.226   0 1.02 1.02 1.24 1.24
#> Flux       0.022 0.022   0 0.12 0.12 0.14 0.14
# }