Displaying 5 results from an estimated 5 matches for "legume".
2008 Sep 24
1
qplot, stacked area, own colourscheme
...What I get is the following dataframe (simplified, there are more
categories, not real data):
trial cover_of dateofsurvey cover
1 ZU-316 Cover dead material 2004-09-16 0
2 ZU-316 Cover grasses 2004-09-16 16
3 ZU-316 Cover herbs 2004-09-16 14
4 ZU-316 Cover legumes 2004-09-16 10
5 ZU-316 Cover open soil 2004-09-16 30
6 ZU-316 Cover dead material 2005-09-18 5
7 ZU-316 Cover grasses 2005-09-18 26
8 ZU-316 Cover herbs 2005-09-18 14
9 ZU-316 Cover legumes 2005-09-18 15
10 ZU-316 Cover open soil 2005-09-...
2009 Jul 15
1
Error in simulation R-code
...5 7.116200 6.467652 3.973543
4.894322 6.279565 5.872954 5.460165 3.973543 6.985068 4.958779 6.431883
7.524418
825 365.8802 548.6984 5000 2 0.5314789 7.236186 6.739166 5.571924
5.729373 6.810875 6.049045 4.537781 3.973543 6.921747 5.335227 5.892576
7.425795
nlcd.shrb nlcd.grshrb forest o.legume devel wetland grains
ra.SDI
821 5.504978 6.599838 6.661026 4.450634 6.974943 6.640015 4.838805
25.94976
822 5.758828 5.736926 5.027859 5.064582 6.652622 7.020253 3.973543
25.62106
823 5.840769 5.937286 5.399468 4.274550 6.959373 7.125071 4.496390
27.71064
824 5.571924 6.287365...
2002 Jun 06
2
covariance analysis model
Dear list users,
I have trouble with covariance analysis.
I measured nitrate concentrations in the soil (NO3) and the percentage of
legumes (LEG, continuous), affected by 2 different CO2 concentrations (CO2,
discrete). I suspect that CO2 has an effect on LEG and NO3, but also that
LEG has an effect on NO3, so this is the formula I wrote to test this:
NO3 ~ CO2 + LEG + CO2:LEG
Will LEG be considered continuous if I use aov(NO3 ~ CO2...
2013 Jan 28
2
Why are the number of coefficients varying? [mgcv][gam]
...sand.knots = c(.2,.4,.6,.8)
clay.knots = c(.15,.3,.45,.6)
abslat.knots = c(10,20,30,45)
lon.knots = c(-50,0,50,125)
dum = as.vector(rep(1,length(trialid)))
doyee = NA
r.ints = tryCatch(gam(RR ~
as.factor(pot.trial)
+ as.factor(year)
+ as.factor(crop.legume)
+ as.factor(crop.fruit)
+ as.factor(feedstock)
+ s(trialid,bs="re",by=dum)
+ s(BCAR.imp,bs="cr",k=length(BCAR.knots),by=as.factor(pot.trial))
+
s(INAR.imp,bs="cr",k=length(INAR.knots),by=as.factor(crop.legume))...
2013 Mar 21
1
[mgcv][gam] Odd error: Error in PredictMat(object$smooth[[k]], data) : , `by' variable must be same dimension as smooth arguments
....gam(object, newdata = whatever)
via the following function:
makepred = function(varstochange,val){
for (i in 1:length(varstochange)){
if (varstochange[i] == "pot.trial"){j=1}
if (varstochange[i] == "year"){j=2}
if (varstochange[i] == "crop.legume"){j=3}
if (varstochange[i] == "crop.fruit"){j=4}
if (varstochange[i] == "feedstock"){j=5}
if (varstochange[i] == "BCAR.imp"){j=8}
if (varstochange[i] == "INAR.imp"){j=9}
if (varstochange[i] == "bcph.imp&q...