search for: rm4

Displaying 2 results from an estimated 2 matches for "rm4".

Did you mean: rm
2007 Jul 16
1
Problem to sort factor
...t a subset of the possible models and display the resulting three plots in a column. This works fine, but: the displayed names and order is wrong. Instead of the models "dl3","dl4","dyn" I want to change dl* to rm* and the order to "dyn","rm3","rm4". I hope it's understandable what I want. I tried to use factor() function in a thousand combinations, but I don't seem to get it. Can someone help me? Thanks in advance, Arne
2011 Dec 14
0
mgcv 'bam' : prediction levels for random effects
Hi R users, I'm using the 'bam' function in mgcv to examine trends in a remotely sensed vegetation index. I have one random effect variable, 'cons' (with six levels) which identifies different subjects within this analysis. My model is specified as follows: rm4<-bam(trend~factor(zone)+s(cons,bs="re")+s(year, bs="cc"),data=rain.data,family=gaussian(link="identity"),method="ML",na.action=na.omit, rho=0.884) I'm using the bam routine as the dataframe is very large (>300,000 rows of data). If possible, I...