From: Bela Bauer <bela_b_at_gmx.net>

Date: Thu 26 May 2005 - 00:22:47 EST

Date: Thu 26 May 2005 - 00:22:47 EST

Hi,

I'm encountering a very odd problem with calls to anova.mlm() from within a function.

Consider the following code (data.n is a matrix of numeric values):

fct <- function(data.k) {

# same code with data.n replaced by data.k
}

fct(data.n)

Call:

lm(formula = data.k ~ 1)

Error in anova.mlmlist(object = mlmfit, mlmfit0, test = "Spherical") :

What causes mlmfit to "disappear" between two lines? I haven't got the slightest clue where to look for an answer...

Thank you very much for your help.

Bela Bauer

-- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.htmlReceived on Thu May 26 00:47:36 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:32:05 EST
*