
Create a table for the annual management outcome assessments
Source:R/show_annualassess.R
show_annualassess.Rd
Create a table for the annual management outcome assessments for chlorophyll-a and light attenuation by bay segment
Usage
show_annualassess(
epcdata,
yrsel,
partialyr = F,
caption = F,
family = "Arial",
txtsz = 12,
width = NULL
)
Arguments
- epcdata
data frame of epc data returned by
read_importwq
- yrsel
numeric indicating chosen year
- partialyr
logical indicating if incomplete annual data for the most recent year are approximated by five year monthly averages for each parameter
- caption
logical indicating if a caption is added using
set_caption
- family
chr string indicating font family for text labels
- txtsz
numeric indicating font size
- width
optional numeric value indicating width in inches
Value
A flextable
object showing the segment-averaged chlorophyll-a and light attenuation for the selected year, with bay segment names colored by the management outcome used in show_matrix
.
Examples
show_annualassess(epcdata, yrsel = 2024)
Segment
Chl-a (ug/L)
Light Penetration (m-1)
2024
target
2024
target
OTB
8.8
8.5
0.67
0.83
HB
10.7
13.2
0.88
1.58
MTB
7.8
7.4
0.61
0.83
LTB
4.6
4.6
0.69
0.63
show_annualassess(epcdata, yrsel = 2024, caption = TRUE)
Water quality outcomes for 2024. Segment
Chl-a (ug/L)
Light Penetration (m-1)
2024
target
2024
target
OTB
8.8
8.5
0.67
0.83
HB
10.7
13.2
0.88
1.58
MTB
7.8
7.4
0.61
0.83
LTB
4.6
4.6
0.69
0.63