[R-sig-ME] Help

Ben Bolker bbo|ker @end|ng |rom gm@||@com
Tue Sep 3 18:12:55 CEST 2024


   Reza,

   You have to give us a lot more information before we can help you.
   By "BLUPs method" you probably mean a mixed model, but it's hard to 
tell.  Can you post a link or reference (presumably you found out about 
this method somewhere ...) ?  Typically a mixed model for genotypes 
cultivated under different conditions would look something like

lmer(trait ~ 1 + condition + (1 + condition | genotype), data = your_data)

  but the full process of fitting and interpreting a mixed model is 
complex. You might start with Pinheiro and Bates "Mixed-Effects Models 
in S and S-PLUS" (this uses an older, but perfectly functional, package 
called nlme).  Alternately, there are many, many blogs and resources online.



On 2024-09-03 9:30 a.m., reza cheloei via R-sig-mixed-models wrote:
> Hello,I studied agriculture. I have data related to a number of genotypes cultivated under two different environmental conditions (stress and normal) and I want to analyze these data with the BLUPs method, but I have little information about the BLUPs method.It is possible for you to guide me and tell me with which of the functions of the "lme4" package that you prepared to perform my analysis.I am waiting for your reply and thank you in advance for your sincere help.
> Best regards,
> Reza
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-mixed-models using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models

-- 
Dr. Benjamin Bolker
Professor, Mathematics & Statistics and Biology, McMaster University
Director, School of Computational Science and Engineering
 > E-mail is sent at my convenience; I don't expect replies outside of 
working hours.



More information about the R-sig-mixed-models mailing list