Displaying 2 results from an estimated 2 matches for "twutz".
Did you mean:
tautz
2012 Mar 21
1
nlme error on dimensions in multiplication
...ts(object) :
longer object length is not a multiple of shorter object length
Below is an example that generates this message on
Windows XP
R 2.14.0
nlme 3.1-103
---
library(nlme)
#load(file="tmp/exampleNmleError.RData") #ds1, fm1, ctrl
con <- url("http://www.bgc-jena.mpg.de/~twutz/tmp/exampleNmleError.RData")
load(file=con) #ds1, fm1, ctrl
close(con)
ds1 <- subset(ds1, select=c("ColNoM","minT","resp"))
head(ds1)
plot( resp ~ minT, col=rainbow(length(unique(ColNoM)))[ColNoM], ds1)
lines( fitted.values(fm1) ~ minT, ds1 ) # starting valu...
2006 Sep 11
4
syntax of nlme
Hello,
How do I specify the formula and random effects without a startup object
? I thought it would be a mixture of nls and lme.
after trying very hard, I ask for help on using nlme.
Can someone hint me to some examples?
I constructed a try using the example from nls:
#variables are density, conc and Run
#all works fine with nls
DNase1 <- subset(DNase, Run == 1 )
fm2DNase1 <- nls(