Displaying 2 results from an estimated 2 matches for "tillag".
Did you mean:
tillage
2012 Feb 17
2
Error message in gamm. Problem with temporal correlation structure
HELLO ALL,
I AM GETTING AN ERROR MESSAGE WHEN TRYING TO RUN A GAMM MODEL LIKE THE ONE BELOW.
I AM USING R VERSION 2.14.1 (2011-12-22) AND MGCV 1.7-12.
M1 <-gamm(DepVar ~ Treatment + s(Year, by =Treatment), random=list(Block=~1), na.action=na.omit, data = mydata, correlation = corARMA(form =~ Year|Treatment, p = 1, q = 0))
THIS IS THE ERROR MESSAGE
Error in `*tmp*`[[k]] : attempt to
2005 Jan 03
2
Two brief questions concerning sapply. Can anyone please help?!
To anyone who can help:
I have two brief questions concerning sapply. Following below is the
code for my example. The two problems are described at the end of the
code:
site <- rep(2:6, each = 12)
tillage <- rep(c(1,-1), each = 6, times = 5)
carbon <- c(18.23, 16.06, 17.81, 16.07, 17.26, 17.08,
14.92, 15.88, 12.11, 14.23, 16.99, 13.57,
20.34, 20.3, 18.78, 19.91, 18.43, 20.8,
18.98, 19.24, 18.18, 16.69, 19.72, 18.35,
36.83, 32.85, 30.21,...