EGRET | term changes in water quality | Data Visualization library
kandi X-RAY | EGRET Summary
kandi X-RAY | EGRET Summary
Exploration and Graphics for RivEr Trends (EGRET): An R-package for the analysis of long-term changes in water quality and streamflow, including the water-quality method Weighted Regressions on Time, Discharge, and Season (WRTDS).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of EGRET
EGRET Key Features
EGRET Examples and Code Snippets
library(EGRET)
############################
# Gather discharge data:
siteID <- "01491000" #Choptank River at Greensboro, MD
startDate <- "" #Gets earliest date
endDate <- "2011-09-30"
# Gather sample data:
parameter_cd<-"00631" #5 digit
sessioninfo::session_info()
#> - Session info ---------------------------------------------------------------
#> setting value
#> version R version 4.0.5 (2021-03-31)
#> os Windows 10 x64
#&
library(EGRET)
# Flow history analysis
# Gather discharge data:
siteID <- "01491000" #Choptank River at Greensboro, MD
startDate <- "" # Get earliest date
endDate <- "" # Get latest date
Daily <- readNWISDaily(siteID,"00060",startDate,en
Community Discussions
Trending Discussions on EGRET
QUESTION
I am trying to apply this solution https://github.com/wilkelab/ggtext to my data to create tick labels from a combination of two columns and apply different fonts to each. I think I've adapted the example code to my scenario but am getting this error after the mutate stage:
Error in check_breaks_labels(breaks, labels) : object 'name' not found
Any pointers appreciated.
I'm looking for something like the below.
Here's the code I've tried:
...ANSWER
Answered 2020-Sep-08 at 17:20As already pointed out by @Duck there are some minor issues in your code. Unfortunaetly these will not solve the ggtext
issue
When you want to make use of
ggtext
you have to make use ofelement_markdown
by setting e.g.axis.text.y = element_markdown()
insidetheme()
.To make the styling work you have to escape the point
.
in your Comname by the HTML entity.
. (The reason is that a number followed by a.
marks the start of an ordered list in markdown.)After these changes you don't need the
scale_y_discrete
.ggplot2
will by default usename
to label the ticks
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install EGRET
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page