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