Hi,

I am trying to place my own functions in the nlme environment:

The following statement works:

environment(coef.corSPT) <- environment(getS3method("coef","corSpatial"))

but this one returns an error:

environment(get("coef<-.corSPT")) <-
environment(getS3method("coef<-","corSpatial"))
Error in environment(get("coef<-.corSPT")) <-
environment(getS3method("coef<-",  :
  target of assignment expands to non-language object

What should I do?

Thanks.

Mike

	[[alternative HTML version deleted]]

