-
Notifications
You must be signed in to change notification settings - Fork 37
Add Spatial correction to mixed model - sommer #5400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor typo at line 76
Fixing typo on MixedModels.pm line 76
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before running the model, I suggest checking the factors to ensure they have levels 2 or more because sommer complains when it only has one unique value with this error "Error in contrasts<-(tmp, value = contr.funs[1 + isOF[nn]]) :
contrasts can be applied only to factors with 2 or more levels". we could exclude those factors.
print(paste("FIXED MODEL :", fixed_model)) | ||
print(paste("RANDOM MODEL: ", random_model)) | ||
print(paste("FIXED FACTORS: ", fixed_factors)) | ||
print(paste("RANDOM FACTORS: ", random_factors)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before running the model, I suggest checking the factors to ensure they have levels 2 or more because sommer complains when it only has one unique value with this error "Error in contrasts<-
(*tmp*
, value = contr.funs[1 + isOF[nn]]) :
contrasts can be applied only to factors with 2 or more levels". we could exclude those factors.
Description
Checklist
/t/data/fixture/patches/
./docs
has been updated./js
to/js/source/legacy
.