Displaying 2 results from an estimated 2 matches for "pheno2".
Did you mean:
phenom
2005 Jun 10
1
Problems with corARMA
Dear all
I am tryiing to fit the following lme with an ARMA correlation structure:
test <- lme(fixed=fev1f~year, random=~1|id2, data=pheno2,
correlation=corARMA(value=0.2, form=~year|id2), na.action=na.omit)
But I get the following error message:
Error in getGroupsFormula.default(correlation, asList = TRUE) :
"Form" argument must be a formula
I have used this same form argument with differerent correlation
struct...
2006 Jul 23
1
Iterated Data Input/Output with Random Forests
...blank. Without the for statement,
setting i<-1 works fine.
One other related question is that right now I am trying to gett the loop to
work by using the paste() function with a variable (i). However, the paste
function returns a string.
If I wanted to make a loop of
tempData$pheno1
tempData$pheno2
tempData$pheno3
...
the paste() function will not work. Is there some other method to achieve the
desired effect? Thank you in advance! I have only been working with R for a few
days so please bear with my lack of knowledge!
John Zhou