var.init for generic effect

19 views
Skip to first unread message

Victor Papin

unread,
Jul 26, 2023, 2:29:10 PM7/26/23
to breedR
Hello,

I have a simple model ran with breedR:
model <- remlf90(fixed = pheno ~ 1generic = list(genetic= list(inc.matcov.mat)), data = mydata)

I want to specify initial variances by adding:
model <- remlf90(fixed = pheno ~ 1generic = list(genetic= list(inc.matcov.mat)), list(generic_genetic = 2residuals = 10), data = mydata) 

but I got this error message :
Error in check_var.ini(var.ini, random, responsem) : Some initial variances missing in var.ini. Please specify either all or none.

I don't seem to be naming my effect correctly,  especially the term "generic_genetic". I tried with "generic", "genetic", "random" but it never works. Can you tell me how this effect should be named properly in the var.init term ?

Best,
Victor


Facundo Muñoz

unread,
Jul 26, 2023, 2:54:00 PM7/26/23
to bre...@googlegroups.com

Dear Victor,

Include the specification for the initial variance of the generic component as a third element of the list with the incidence and covariance matrices, like so:

model <- remlf90(
  fixed = pheno ~ 1,
  generic = list(genetic = list(inc.matcov.mat, var.ini = 2)),
  var.ini = list(residuals = 10),
  data = mydata
)

Hope it helps.

ƒacu.-

--
Report issues at https://github.com/famuvie/breedR/issues
---
You received this message because you are subscribed to the Google Groups "breedR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to breedr+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/72888f31-8150-4643-a73b-60bd6a6728d6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages