[R] Re: Problem with multiple factors in nlme
Uli Flenker; Raum 704
uli at biochem.dshs-koeln.de
Fri Dec 8 16:23:13 CET 2000
Sorry; two mistakes in my message:
<snip>
> When running the example as well as own code (biexponential model
> depending on two crossed factors) I receive the following error
> message:
>
> Error: comparison (2) only possible for vector types
>
The true error message is
> Error in fixed[[nm]][[3]] != "1" : comparison (2) is possible only for
> vector types
<snip>
> Code:
>
> library(nlme)
> data(CO2)
> CO2.func <- deriv(~A*(1-exp(-exp(lB)*(conc-C))),
> c("A","lB","C"),
> function(conc,A,lB,C))
The correct function is
CO2.func <- deriv(~A*(1-exp(-exp(lB)*(conc-C))),
c("A","lB","C"),
function(conc,A,lB,C){})
<snip>
Sorry once more ...
Uli Flenker
Institute of Biochemistry
German Sports University Cologne
Carl-Diem-Weg 6
50933 Cologne / Germany
Phone 0049/0221/4982-493
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list