[R] mixed models

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Wed May 25 21:52:32 CEST 2016


You forgot to show the commands to us that you used to read the data in with (your example is not "reproducible"). This step can make all the difference in the world as to whether your analysis commands will work or not. 
-- 
Sent from my phone. Please excuse my brevity.

On May 25, 2016 11:59:06 AM PDT, James Henson <jfhenson1 at gmail.com> wrote:
>Greetings R community,
>
>My aim is to analyze a mixed-effects model with temporal
>pseudo-replication
>(repeated measures on the same experimental unit) using ‘nlme’. 
>However,
>my code returns the error message “Error in na.fail.default’, even
>though
>the data frame does not contain missing values. My code is below, and
>the
>data file is attached as ‘Eboni2.txt.
>
>library("nlme")
>
>str(Eboni2)
>
>head(Eboni2)
>
>model1 <- lme(preDawn ~ Irrigation, random=~season_order|treeNo,
>data=Eboni2)
>
>I am genuinely confused.  Hope someone can help.
>
>Best regards,
>
>James F. Henson
>
>
>------------------------------------------------------------------------
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list