Displaying 2 results from an estimated 2 matches for "habitat2".
Did you mean:
habitat
2011 Oct 28
0
problem with glsm.krige: trendd and trend l must have similar specifications error
...ot;,nugget=5,trend=~powerb1+temp1),mcmc.input = mcmc.control(S.scale =.000001 ,thin=10))
prepareredd1=prepare.likfit.glsm(reddmcmc)
lik.redd1.1 <- likfit.glsm(prepareredd1, ini.phi = 10,cov.model = "spherical",trend=~powerb1 + temp1)
# predict at new locations
trendpred=trend.spatial(~habitat2$powerb + habitat2$avgtemp)
test2 <- glsm.krige(reddmcmc,coords,trend.l=trendpred) # trend.d and trend.l must have similar specifications ?????
test2 <- glsm.krige(reddmcmc,coords,trend.l=habitat2$powerb + habitat2$avgtemp) # same error message...
[[alternative HTML version deleted]]
2010 Apr 16
2
managing data and removing lines
Hi,
I am very new to R and I've been trying to work through the R book to gain a
better idea of the code (which is also completely new to me).
Initially I imputed my data from a text file and that seemed to work ok, but
I'm trying to examine linear relationships between gdist and gair, gdist and
gsub, m6dist and m6air, etc.
This didn't work and I think it might have something to do