Displaying 9 results from an estimated 9 matches for "doylesdartden".
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 remove MW01??
I'm sure I can do it by SubSeting but I can not figure out how to do it.
Thank you
David
--------------------------------------------------------------
library(ggplot2)
My...
2017 Nov 29
0
Removing a data subset
...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 remove MW01??
>
> I'm sure I can do it by SubSeting but I can not figure out how to do it.
>
> Thank you
> David
>
> ---------------------------------------...
2017 Oct 05
0
Adding non-data line to legend ggplot2 Maximum Contaminant Level
...it seems a bit clumsy.
In words, I created a new data.frame with "250" in the Chloride vector and "SMCL" in the Detections vector and supplessed one legend.
Warning: For my convenience I am using different data.frame names .
library(ggplot2)
MyData <-read.csv("http://doylesdartden.com/Stats/TimeSeriesExample.csv", sep=",")
MyData$Detections <- ifelse(MyData$D_Chloride ==1, "Detected", "NonDetect")
dat1 <-? MyData[, c(1, 3, 4, 6)]
dat2 <-? dat1[, c(1,2)]
dat2$Detections <-? rep("SMCL", nrow(dat2))
dat$Chloride <...
2012 Aug 08
1
Confidence bands around LOESS
...ls and I was
wonder if there was a way to get the CIs?
Below is the code I have so far and my data is no the net.
Any help would be greatly appreciated.
Take Care
David
-----------------------------
#Load your data. Is located on the web at the address below
mydata <- read.csv("http://doylesdartden.com/smoothing.csv", sep=",")
mydata <- read.table("x.csv", header=TRUE, sep=",",)
attach(mydata)
reg1 <- lm(Y_Axis_Parameter~X_Axis_Parameter)
par(cex=1)
* *
* *
#Plots the data but makes nondetects a different color and type based on
column D_Y_Axi...
2012 Apr 19
1
SmoothTrend in OpenAir
...messages:
1: In min.default(c(NA_real_, NA_real_, NA_real_, NA_real_, NA_real_, :
no non-missing arguments to min; returning Inf
2: In max.default(c(NA_real_, NA_real_, NA_real_, NA_real_, NA_real_, :
no non-missing arguments to max; returning -Inf
>
A copy of the data can be found at
www.doylesdartden.com/e/MCNP-pH.csv
Any suggestions??
Thank you
David
[[alternative HTML version deleted]]
2018 Mar 21
1
Plotting Notched Box Plots Log Scale - Losing bottom portion of box plot
...he 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 <- read.table("http://doylesdartden.com/ExampleIron.CSV",
header=TRUE, sep=",")
MyDataIronx <- c("Location", "Iron")
MyDataIron <- MyData[MyDataIronx]
plot(MyDataIron, notch=TRUE,log = "y",ylim=c(0.01, 100))
[[alternative HTML version deleted]]
2017 Sep 26
2
Adding non-data line to legend ggplot2 Maximum Contaminant Level
...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 net.
Thank you in advance
David
#Loads the ggplot2 package.
library(ggplot2)
##This loads your data from your worksheet
MyData <-read.csv("http://doylesdartden.com/Stats/TimeSeriesExample.csv",
sep=",")
#Sets which are detections and nondetects
MyData$Detections <- ifelse(MyData$D_Chloride ==1, "Detected", "NonDetect")
#does the plot
p <- ggplot(data = MyData, aes(x=Year, y=Chloride , col=Detections)) +
geom_...
2011 May 25
0
Adding Mean to Notched Box Plots
...October
2003 which had info also but all these seem to address "groups" of data.
I have some rainfall pH data from Mammoth Cave National Park. The data
comes in as one dataset as a table with ten columns (one of each year).
I've tried to upload the workspace file at:
http://www.doylesdartden.com/e/.RData
The code I've used so far to make the notch box plots is:
#makes the notched box plot. "data" = the name of the data in R.
boxplot(data, notch=TRUE,
# Gives the title and axis names
main="Graph Title", xlab="X axis label", ylab="Y axis label&q...
2017 Oct 01
0
Adding non-data line to legend ggplot2 Maximum Contaminant Level
...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 net.
Thank you in advance
David
#Loads the ggplot2 package.
library(ggplot2)
##This loads your data from your worksheet
MyData <-read.csv("http://doylesdartden.com/Stats/TimeSeriesExample.csv",
sep=",")
#Sets which are detections and nondetects
MyData$Detections <- ifelse(MyData$D_Chloride ==1, "Detected", "NonDetect")
#does the plot
p <- ggplot(data = MyData, aes(x=Year, y=Chloride , col=Detections)) +
? geom_...