Displaying 1 result from an estimated 1 matches for "brseq".
Did you mean:
rseq
2006 Sep 29
1
linear gradient in nls
...dient, and I dare to ask why am I
getting a linear gradient. I apologies if I haven't supplied enough
information or I have made some mistake in my coding. The coding below works
on some of the data but not all.
Thank you for your time,
Paul Benton
brseq <- seq(-4.0, 4.0, by=0.1)
AB<- A[,1]/A[,2]
lgAB<-log(AB)
freq_AB <-hist(lgAB, type="o", breaks=brseq, plot=F
freq.tab <- as.data.frame(cbind(brseq, freq_AB$counts)
class(fo <- (x ~ (A/(sig*sqrt(2*pi)))* exp(-1*((bin-mu)^2/(2* sig^2)))))
nls.AB <- nls(fo,data=fre...