search for: so4

Displaying 19 results from an estimated 19 matches for "so4".

Did you mean: so
2009 Apr 20
7
Fitting linear models
I am not sure if this is an R-users question, but since most of you here are statisticians, I decided to give it a shot. I am using the lm() function in R to fit a dependent variable to a set of 3 to 5 independent variables. For this, I used the following commands: >model1<-lm(function=PBW~SO4+NO3+NH4) Coefficients: (Intercept) SO4 NO3 NH4 0.01323 0.01968 0.01856 NA and >model2<-lm(function=PBW~SO4+NO3+NH4+Na+Cl) Coefficients: (Intercept) SO4 NO3 NH4 Na Cl -0.0006987 -0.0119750 -0.0295042 0....
2011 Nov 09
4
Interpreting Multiple Linear Regression Summary
I would appreciate pointers on what I should read to understand this output: summary(lm(TDS ~ Cond + Ca + Cl + Mg + Na + SO4)) Call: lm(formula = TDS ~ Cond + Ca + Cl + Mg + Na + SO4) Residuals: ALL 1 residuals are 0: no residual degrees of freedom! Coefficients: (6 not defined because of singularities) Estimate Std. Error t value Pr(>|t|) (Intercept) 125 NA NA NA Cond...
2011 Oct 27
2
Syntax Check: rshape2 melt()
...want to ensure that the melt() function call is syntactically correct. The unmodifed data frame is organized this way: head(tds.anal) site sampdate param quant 1 UDS-O 2006-12-06 TDS 10800 4 STC-FS 1996-06-14 Cond 280 7 UDS-O 2007-10-04 Mg 1620 9 UDS-O 2007-10-04 SO4 7580 19 JCM-10B 2007-06-21 Ca 79 20 JCM-10B 2007-06-21 Cl 114 What I want looks like this: site sampdate TDS Cond Mg Ca Cl Na SO4 UDS-O 2006-12-06 10800 NA 1620 NA NA NA 7580 with the actual data for each param, of course. I've read the resha...
2011 Oct 24
2
Syntax Help for xyplot()
...1.00 BC-2 :107 1st Qu.:1994-09-21 Cl :148 1st Qu.: 14.03 BC-1 : 62 Median :1996-05-21 Cond: 94 Median : 64.40 BC-4 : 38 Mean :1998-11-19 Mg : 65 Mean : 189.47 BC-1.5 : 28 3rd Qu.:2002-10-31 Na : 34 3rd Qu.: 285.75 BC-0.5 : 12 Max. :2011-05-18 SO4 :155 Max. :2058.00 (Other): 11 TDS :157 NA's : 8.00 a sample of the data in burns.tds.anal is: burns.tds.anal site sampdate param quant 82 BC-0.5 1996-06-02 SO4 194.00 83 BC-0.5 1996-06-02 TDS 530.00 6903 BC-2 1994-07-25 Cond...
2011 Nov 02
2
Proper Syntax for Logical Subset in Subset()
...A NA NA NA NA NA NA ... $ Na : num NA NA NA NA NA NA NA NA NA NA ... $ Ni : num NA NA NA NA NA NA NA NA NA NA ... $ OH : num NA NA NA NA NA NA NA NA NA NA ... $ P : num 0.03 NA NA NA NA NA NA NA NA NA ... $ Pb : num NA NA NA NA NA NA NA NA NA NA ... $ SO4 : num 175 57 194 NA NA NA NA NA NA NA ... $ Sb : num 0 NA NA NA NA NA NA NA NA NA ... $ Se : num 0.01 NA NA NA NA NA NA NA NA NA ... $ Si : num NA NA NA NA NA NA NA NA NA NA ... $ TDS : num 460 212 530 NA NA NA NA NA NA NA ... $ TSS : num NA 26 NA NA...
2011 Sep 13
1
ZOO: Learning to apply it to my data
...: num 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0 ... The numeric column ('x' in zoo, I believe) is associated with the unique combination of param, sampdate, and stream in each row. For example: tail(streamdata) stream sampdate param quant 11164 Winters 2010-06-30 SO4 120.000 11165 Winters 2010-06-30 Zn 0.010 11166 Winters 2011-06-06 As 0.005 11167 Winters 2011-06-06 Cl 5.000 11168 Winters 2011-06-06 SO4 150.000 11169 Winters 2011-06-06 Zn 0.010 I'm in the early exploratory stage of understanding these data, but want to produce time...
2012 Jan 09
1
Different lm() Residuals Output
All but one of the summaries of multiple linear regressions in this analysis set present the residuals by min, 1Q, median, 3Q, and max. Example: lm(formula = TDS ~ Cond + Ca + Cl + Mg + Na + SO4, data = snow.cast) Residuals: Min 1Q Median 3Q Max -277.351 -32.551 -2.621 40.812 245.272 The one that doesn't has only a small number of rows (23) and presents the results as: lm(formula = TDS ~ Cond + Ca + Cl + Mg + SO4, data = rnchH.cast) Residuals: 8...
2011 Oct 31
1
reshape2: Lost Values Between melt() and dcast()
...both data frames have the values in their .melt data frames: summary(jerritt.melt) site sampdate param variable JCM-1 :2178 Min. :1978-03-28 pH : 292 quant:7519 JCM-20A:2149 1st Qu.:1996-05-24 As : 286 JC-E : 476 Median :2000-05-31 SO4 : 271 JC : 400 Mean :2001-02-04 TDS : 271 GD-1 : 395 3rd Qu.:2006-05-31 Cl : 253 JC-2 : 349 Max. :2009-12-30 Zn : 250 (Other):1572 (Other):5896 value Min. : 0.000 1st Qu.: 0.005 Median : 0.650 Mean : 31...
2012 Jun 06
0
R-help Digest, Vol 112, Issue 6
Rich, The documentation for cenboxplot states that the second argument must be logical and not integer. the function cenboxplot substitutes synthetic values for censored values using ros, hence the error message from the ros method. I also do not understand how you expect group = 'SO4' to work. It is not clear that the function will replicate 'SO4' to make a single group. Dave > Date: Tue, 5 Jun 2012 09:58:16 -0700 (PDT) > From: Rich Shepard <rshepard@appl-ecosys.com> > To: r-help@r-project.org > Subject: [R] NADA Applied to my Data > Message-I...
2011 Jan 10
3
Help with Data Transformation
...0.9 2269 LHR020GW-01E2 N WG INO BRLS NONE E300 PO4 ND 50 2270 LHR020GW-01E2 N WG INO BRLS NONE E300 SO4 = 22460 2272 LHR020GW-01E2 N WG MET BRLS FLDFLT E1631 HG = 0.00171 2273 LHR020GW-01E2 N WG MET B...
2011 Nov 29
5
Why Numeric Values Become Factors in Data Frame
...;Ca'|'Cd'|'Cl'|'Co'|'Cr'|'Cu'|'DO'|'Fe'|'Hg'|'K'|'Mg'|'Mn'|'Mo'|'Na'|'NH4'|'NO3-NO2'|'Oil-grease'|'Pb'|'pH'|'Sb'|'SC'|'Se'|'SO4'|'Sr'|'TDS'|'Tl'|'V'|'Zn' 'D-1'|'2007-12-12'|0.000|0.106|1.000|231.000|231.000|0.011|0.000|0.002|0.000|100.000|0.000|1.430|0.000|0.006|0.024|4.960|4.110|NA|0.000|9.560|0.035|0.000|0.970|0.010|0.293|NA|0.025|7.800|0.001|630.000|0.001|65.800...
2011 Jan 13
0
Help with Data Transformation - RESOLVED
...GEXTORG","HGNONMOB""HGSEMIMOB","K", "MEHG","MG","MN","MO","NH3N","NI","NO2N","NO3","NO3N","PB""PO4","S","SB","SE","SO4", "SOLID","SSC","TL","TOC","V","Zn","ZN" - These are currently stored in the "PARLABEL" column. * For each sample ID I would like to create a single line; - Extract each "PARLABEL" to use as a...
2012 Jun 05
0
NADA Applied to my Data
...to first learn is how to specify a box plot (and whether I can use the lattice package) for specific chemicals. ?cenboxplot shows me the arguments, but I'm not entering them correctly, or there's a prerequisite step I need to take: cenboxplot(waterchem$quant, waterchem$ceneq1, group='SO4', log=T, range=1.5) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "ros", for signature "numeric", "integer" Perhaps cenboxplot is looking for a separate data set and not a data frame? Or, perhaps I need to melt...
2013 Apr 30
1
vegan -varpart is bigger than 100% in total?
...possible? What might be the reason? Thank you library(vegan) gotud <- decostand(gotu,"hell") G.var <- varpart(gotud,~Depth,~CH4_oxidation,~d13C_DIC+Temperature+Spec.Conductivity+DO+CH4+N2O+pH, data=ge) plot(G.var) Sample depth T SpCond DO pH Chl CH4 CH4oxidation N2O TA POC BP SO4 Gi25Feb12 25 24.46 1104 4.42 8.94 1.6 40.00174578 1.1 6.683260809 12.723 41.98069543 0.008282072 150.1168 Gi27.5Fb12 27.5 24.42 1105 4.36 8.93 1.2 68.53538846 1.4 7.431459607 12.711 31.4397919 0.020730967 188.4166 Gi30Fb12 30 23.71 1128 2.62 8.81 1 10.53158545 0.9 8.415644664 12.817 23.06912467...
2012 Jan 02
1
Creating ZOO Matrix from Data Frame
...s "BC-0.5","BC-1",..: 1 1 1 2 2 2 2 2 2 2 $ sampdate : Date, format: "1996-04-19" "1996-05-21" ... $ Ca : num 76.6 NA NA NA NA ... $ Cond : num 712 403 731 NA NA NA NA NA NA NA ... $ HCO3 : num 162 152 212 NA NA NA NA NA NA NA ... $ SO4 : num 175 57 194 NA NA NA NA NA NA NA ... $ TDS : num 460 212 530 NA NA NA NA NA NA NA ... ... What I think I need is a matrix that orders sampdate, has the numeric values for TDS, and retains the factor of site (so that I can compare TDS values on a given date by site). The Aug...
2001 Nov 05
1
Problem to transfer Splus functions
...wt <- wt/sum(wt) mx <- wt %*% x xx <- t(t(x) - as.vector(mx)) rwt <- sqrt(wt) y <- rwt * xx #.. integration des poids.. stdx <- sqrt(diag(t(y) %*% y)) if(ctr) x <- xx x <- t(t(x)/stdx) dimnames(x) <- nam attr(x, "std") <- stdx x } ca mg cl so4 hco3 co2 c te deb 62.8 3.5 1.75 27.5 173 2.93 300 10.40 0.092 62.8 4.0 1.65 27.0 177 2.92 300 10.40 0.490 64.5 3.6 1.65 28.5 179 3.10 303 10.40 0.560 64.0 5.0 1.70 26.0 184 3.33 308 10.40 0.605 61.6 5.0 1.90 28.0 178 3.08 303 10.40 0.690 63.5 4.4 1.75 27.5 179 2.76 302 10.50 0.7...
2012 Sep 04
1
cenboxplot(): Reporting Limit Twice Correct Concentration
...ot", "MnDis", "MnTot", "MoDis", "MoTot", "N", "NH4", "NaDis", "NaTot", "NiDis", "NiTot", "PDis", "PTot", "PbDis", "PbTot", "SC", "SO4", "SbDis", "SbTot", "SeDis", "SeTot", "SrDis", "SrTot", "TDS", "TSS", "TlDis", "TlTot", "Vdis", "Vtot", "ZnDis", "ZnTot", "oilgrease",...
2012 Aug 22
1
Error in if (n > 0)
...ot", "MnDis", "MnTot", "MoDis", "MoTot", "N", "NH4", "NaDis", "NaTot", "NiDis", "NiTot", "PDis", "PTot", "PbDis", "PbTot", "SC", "SO4", "SbDis", "SbTot", "SeDis", "SeTot", "SrDis", "SrTot", "TDS", "TSS", "TlDis", "TlTot", "Vdis", "Vtot", "ZnDis", "ZnTot", "oilgrease",...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...2G>s`u=z(Svdp&SKNvLas` zSY_Jw4-OALC*gN1o8%R+=d^YsTxbjJO%j2MhdgEbW+3g2JGDOPvnFgwZQO-EdC<7+ zl^dhGc4dPrl>SNJmBpl)6daebZBW^SzgE at d7*cPvW@(*4dWO$fZC(wD-P7P$UJbr4 zI%azdu%|aO>2Y<jVZN#GdK=+dx1wTEL(U<Dn%kiDhc2tqfH|(+%Vl6+0XIZ2Gg?^^ zlJBFQh`EXj5fAEG- at Or6GLlVhy6L8qeNO1iEg_2^XY7>SO4fz$R(7D81A7XnV=8%w z;Ykr1TuA<rnqYCh&eN?w#-CtIyTg>v(z0QAu)ql;yb3X-O8QFBB4MDH6>4N&;(@xS zEMafbHBqy*km3ButmNz&yH9;>j7>w&b-KDyzPjIrO%inxl!|L#ht8-Dv3Eb8AdfEc zyRNS6I4qfdf$N--gjE8BQx8CFUuB-CFyX)78{qYOI2t^;M}D&<oDb%7IbFtNCnRLK z-67)|(l}!r(B&;SfzZG)5tW2KQe7B%^~*?yFs...