Displaying 10 results from an estimated 10 matches for "kydaviddoyle".
2017 Oct 05
0
Adding non-data line to legend ggplot2 Maximum Contaminant Level
...<-? rep(250, nrow(dat2))
dat3 <-? rbind(dat1, dat2)
p <-? ggplot(dat3, aes(Year, Chloride, colour = Detections)) +
?????????? geom_point(aes(shape=Detections), show.legend = F) +
?????????? geom_line( aes(Year, Chloride))
On Tuesday, October 3, 2017, 3:17:00 PM EDT, David Doyle <kydaviddoyle at gmail.com> wrote:
Hi John,
I used your recommendation of adding a new variable (see below) and it is plotting the line at the 250 mg/L mark but I still can not figure out how to get it added to the legend.
Thanks again for your help.
David
#Loads the ggplot2 package.? NOTE you have to...
2012 Apr 24
1
Scatter plot / LOESS, or LOWESS for more than one parameter
Hi folks.
If I have the following in my "data"
event pH1 pH2
1 4.0 6.0
2 4.3 5.9
3 4.1 6.1
4 4.0 5.9
and on and on..... for about 400 events
Is there a way I can get R to plot event vs. pH1 and event vs. pH2 and
then do a loess or lowess line for each??
Thanks in advance
David
[[alternative HTML version deleted]]
2017 Oct 01
0
Adding non-data line to legend ggplot2 Maximum Contaminant Level
I just glanced at the problem but I think you would have to create a new variable to replace the hline. What about adding some text annotation in the graph instead?
On Tuesday, September 26, 2017, 3:51:46 PM EDT, David Doyle <kydaviddoyle at gmail.com> wrote:
Hello everyone,
I have a plot showing chloride concentrations for various point over time.
I also have a dotted line that show the Secondary Maximum Contaminant Level
(my screening limit) on the graphs at 250 mg/L.? But I can not figure out
how to include the dotted li...
2018 Mar 21
1
Plotting Notched Box Plots Log Scale - Losing bottom portion of box plot
Hello,
I'm using the code below to generate some notched box plots. The issue is
whenever I use log scale, the sides of the bottom part of the box plots
don't plot. I've tried it in RStudio Ver 1.1.419 and R version 3.4.3 and I
get the same result.
The code and link to my data is below.
Thank you for your time
David
MyData <-
2012 Apr 17
2
Installing Kendall Package
I know this is a dumb question but I'm pulling out what little hair I have
left. I download the package and got the following:
trying URL '
http://ftp.ussg.iu.edu/CRAN/bin/windows/contrib/2.14/Kendall_2.2.zip'
Content type 'application/zip' length 52732 bytes (51 Kb)
opened URL
downloaded 51 Kb
package ‘Kendall’ successfully unpacked and MD5 sums checked
The downloaded
2017 Sep 26
2
Adding non-data line to legend ggplot2 Maximum Contaminant Level
Hello everyone,
I have a plot showing chloride concentrations for various point over time.
I also have a dotted line that show the Secondary Maximum Contaminant Level
(my screening limit) on the graphs at 250 mg/L. But I can not figure out
how to include the dotted line / Secondary Maximum Contaminant Level in
the legend. Any thoughts? My code is as following and is linked to my
data on the
2012 Aug 08
1
Confidence bands around LOESS
Hi Folks,
I'm looking to do Confidence bands around LOESS smoothing curve.
If found the older post about using the Standard error to approximate it
https://stat.ethz.ch/pipermail/r-help/2008-August/170011.html
Also found this one
http://www.r-bloggers.com/sab-r-metrics-basics-of-loess-regression/
But they both seem to be approximations of confidence intervals and I was
wonder if there was
2011 May 25
0
Adding Mean to Notched Box Plots
Hello everyone,
I'm new to R and made my 1st notched box plots this weekend. I've read some
of the other post regarding adding means to box plots but I'm still having
problems.
I've looked at some of the other discussions and R News Volume 3/2, October
2003 which had info also but all these seem to address "groups" of data.
I have some rainfall pH data from
2012 Apr 19
1
SmoothTrend in OpenAir
I'm trying to plot smooth trend using smoothTrend in OpenAir but I'm having
problems.
I used the following code.
---------------------------------------------------------------------------------
#Set my working dir to the dir with my files
setwd("c:/R")
#Load the openair library
library(openair)
#Load the data
mydata <- read.table("MCNP-pH.csv", header=TRUE,
2017 Nov 29
3
Removing a data subset
Say I have a dataset that looks like
Location Year GW_Elv
MW01 1999 546.63
MW02 1999 474.21
MW03 1999 471.94
MW04 1999 466.80
MW01 2000 545.90
MW02 2000 546.10
The whole dataset is at http://doylesdartden.com/ExampleData.csv
and I use the code below to do the graph but I want to do it without MW01.
How can I