Comments (2)
Please try
library(sommer)
packageVersion("sommer")
fit2 <- mmer(fixed=yield ~ 1 + location + year + location:year + location:year:block,
random=~geno,
data=dat)
The results are exactly the same. This is what you would call explicit nesting. If you want to extract the design matrices used in the model try using the return.param argument:
fit2 <- mmer(fixed=yield ~ 1 + location + year + location:year + location:year / block,
random=~geno, return.param=TRUE,
data=dat)
that will return the parameters used to fit the model instead of fitting the model.
from sommer.
Thank you very much for your answer (and sorry for the late reply)!
from sommer.
Related Issues (20)
- GL(M)M's as a future target? HOT 4
- more structure covariance structures? HOT 2
- Query regarding MEMMA output HOT 1
- Error in mmer(y = y, Z = ETA, method = "EMMA") : unused arguments (y = y, Z = ETA) HOT 1
- Suppress "fixed-effect model matrix is rank deficient so dropping 1 columns / coefficients" HOT 2
- Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) : contrasts can be applied only to factors with 2 or more levels HOT 2
- predict function when spl2D is used HOT 4
- predict() error in cross-validation HOT 6
- Facing error at the stage of A.mat HOT 3
- Can't get mmec to run HOT 4
- mmec using weights (W) HOT 5
- mmer fails when number of observations > 2^15 HOT 4
- Poisson and Negative Bionomial Distributed Traits HOT 2
- how to add permanent environmental effect in random regression model ? HOT 1
- Throw error for singular system HOT 6
- GWAS entries in CHANGELOG and documentation HOT 2
- Predict.mmec function issue HOT 1
- Different varcomp estimates between sommer and ASReml-R when it is bounded HOT 1
- multivariate model specification with different fixed effects per trait HOT 1
- Possible mix up between VanRaden and Endleman GRMs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sommer.