search for: testox

Displaying 1 result from an estimated 1 matches for "testox".

Did you mean: testbox
2007 Dec 24
1
curve fitting problem
...ing value estimates (I think). I keep getting "singular matrix 'a' in solve". This is the code: ox <- c(-600,-300,-200,1,100,200) ir <- c(1,2.5,4,9,14,20) model <- nls(ir ~ k*l^(m*ox),start=list(k=10,l=3,m=0.004),algorithm="plinear") summary(model) plot(ox,ir) testox <- seq(-600,200,length=100) k <- 10 l <- 3 m <- 0.004 testir <- k*l^(m*testox) lines(testox,testir) Any thoughts? Thanks! -- This message was sent on behalf of pieterprovoost at gmail.com at openSubscriber.com http://www.opensubscriber.com/messages/r-help at stat.math.ethz.ch/topic...