Skip to content
Back to formatted view

Raw Message

Message-ID: <CAA84D89-4A4D-43A4-8541-F0CF660EE0AF@dcn.davis.ca.us>
Date: 2016-05-25T19:52:32Z
From: Jeff Newmiller
Subject: mixed models
In-Reply-To: <CABPq8JN974cVTJvRT-+hHigPERV+-uVzzNq6OCZuqpHB4q5xgw@mail.gmail.com>

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]]