search for: leachate

Displaying 4 results from an estimated 4 matches for "leachate".

2008 Jun 05
1
choosing an appropriate linear model
...w to create a better predictive model? I presume it has something to do with glm, especially since I have repeated rainfalls on replicate samples, but any advice on the approach to take would be much appreciated. The code I used to produce the attached plots is included below. leach.lm <- lm(leachate~rainmm-1,data=leachdata) png("dianostics.png",height=1200,width=700) par(mfrow=c(3,2)) plot(leachate~rainmm,data=leachdata,main="Data and fitted line") abline(leach.lm) plot(predict(leach.lm)~leachdata$leachate,main="predicted vs. observed leaching amount",xlim=c(0,12...
2011 Oct 12
1
getting data associated with coordinates in a spatial data frame
If I know the specific coordinate in a spatial data frame, how can I access the data at that coordinate? My coordinates are labeled "x" and "y" in a data.frame "e". The data is in column "leachate". I want to say, basically: e$leachate@coordinates(2,3<mailto:e$leachate@coordinates(2,3>). Thanks, Daniel [[alternative HTML version deleted]]
2005 Mar 26
5
PCA - princomp can only be used with more units than variables
Hi all: I am trying to do PCA on the following matrix. N1 N2 A1 A2 B1 B2 gene_a 90 110 190 210 290 310 gene_b 190 210 390 410 590 610 gene_c 90 110 110 90 120 80 gene_d 200 100 400 90 600 200 >dataf<-read.table("matrix") >
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame. For instance > ddTable <- data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry")) I want a dataset that is Id Name 1 Paul 2 Bob > unique(ddTable) Will give me all 4 rows, and > unique(ddTable$Id) Will give me c(1,2), but not accompanied by the name column.