Skip to content
Back to formatted view

Raw Message

Message-ID: <alpine.DEB.2.02.1303141744050.9399@paninaro.uibk.ac.at>
Date: 2013-03-14T16:45:37Z
From: Achim Zeileis
Subject: evtree
In-Reply-To: <CAOLvsExqGgVfa5PzrAdu42fg7BnqSZ9X=NU2m1ejs=aZVRJDmw@mail.gmail.com>

On Thu, 14 Mar 2013, G Girija wrote:

> hi
> I got the following error in 'evtree'. could u help pl.
>
> Error in if (var(mf[, nVariables]) <= 0) stop("variance of the denpendent
> variable is 0") :
>  argument is of length zero

I would guess that your model formula and/or corresponding data frame is 
somehow incorrect or misspecified. But it's hard to say with the 
information you provide. Please see the posting guide (in the footer of 
this e-mail) on how to ask a better question.

> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
>