search for: nondetect

Displaying 10 results from an estimated 10 matches for "nondetect".

Did you mean: nondetects
2017 Nov 29
3
Removing a data subset
...do it by SubSeting but I can not figure out how to do it. Thank you David -------------------------------------------------------------- library(ggplot2) MyData <- read.csv("http://doylesdartden.com/ExampleData.csv", header=TRUE, sep=",") #Sets whic are detections and nondetects MyData$Detections <- ifelse(MyData$D_GW_Elv ==1, "Detected", "NonDetect") #Removes the NAs MyDataWONA <- MyData[!is.na(MyData$Detections), ] #does the plot p <- ggplot(data = MyDataWONA, aes(x=Year, y=GW_Elv , col=Detections)) + geom_point(aes(shape=Detections)) +...
2017 Oct 05
0
Adding non-data line to legend ggplot2 Maximum Contaminant Level
...upplessed 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 <-? rep(250, nrow(dat2)) dat3 <-? rbind(dat1, dat2) p <-? ggplot(dat3, aes(Year, Chloride, colour = Detections)) + ?????????? geom_point(aes(sh...
2017 Nov 29
0
Removing a data subset
...Thank you > David > > -------------------------------------------------------------- > > library(ggplot2) > > MyData <- read.csv("http://doylesdartden.com/ExampleData.csv", header=TRUE, > sep=",") > > > > #Sets whic are detections and nondetects > MyData$Detections <- ifelse(MyData$D_GW_Elv ==1, "Detected", "NonDetect") > > #Removes the NAs > MyDataWONA <- MyData[!is.na(MyData$Detections), ] > > #does the plot > p <- ggplot(data = MyDataWONA, aes(x=Year, y=GW_Elv , col=Detections)) + &gt...
2017 Sep 26
2
Adding non-data line to legend ggplot2 Maximum Contaminant Level
...wing 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_point(aes(shape=Detections)) + #sets the detect vs. non-detect colors scale_colour_manual(values...
2012 Aug 08
1
Confidence bands around LOESS
...dress 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_Axis_Parameter being a 0 for ND and 1 for detect. plot(X_Axis_Parameter, Y_Axis_Parameter, col=ifelse(D_Y_Axis_Parameter, "black", "red"),ylab = "Y_Axis_Parameter", pch=ifelse(D_Y_Axis_Parameter, 19, 17), cex = 0.7) p...
2008 May 12
4
Left censored responses in mixed effects models
Dear R Fellow-Travellers: What is your recommended way of dealing with a left-censored response (non-detects) in (linear Gaussian) mixed effects models? Specifics: Response is a numeric positive measurement (of volume, actually); but when it falls below some unknown and slightly random value (depending on how the sample is prepared and measured), it cannot be measured and is recorded as 0.
2017 Oct 01
0
Adding non-data line to legend ggplot2 Maximum Contaminant Level
...wing 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_point(aes(shape=Detections)) + ? #sets the detect vs. non-detect colors ? scale_colour_manual(values...
2007 Sep 14
6
replace NA value with 0
Hi, how can I replace NA value with 0: 1991 217 119 103 109 137 202 283 240 146 NA 1992 270 174 149 144 166 239 278 237 275 NA 1993 146 111 104 89 98 131 153 148 175 NA 1994 177 123 146 124 121 200 266 191 240 106 1995 145 98 95 89 95 130 183 161 164 129 1996 145 98 89 90 93 138 158 131 161 161 1991 217 119 103 109 137 202 283 240 146 0 1992 270 174 149 144 166 239 278 237
2010 Jul 06
3
Help With ANOVA (corrected please ignore last email)
Sorry i had a misprint in the appendix code in the last email Hi I needed some help with ANOVA I have a problem with My ANOVA analysis. I have a dataset with a known ANOVA p-value, however I can not seem to re-create it in R. I have created a list (zzzanova) which contains 1)Intensity Values 2)Group Number (6 Different Groups) 3)Sample Number (54 different samples) this is created by the
2004 Apr 02
4
who broke keyboards again?
I have a client that has several dell machines, when he boots without a keyboard he gets: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 but no: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 This used to work, then was broken by someone trying to "do the right thing". We need the keyboards to be hot swappable. I recommend that