Displaying 1 result from an estimated 1 matches for "snrftp".
Did you mean:
sftp
2011 Feb 08
4
Interactions in a nls model
...e very little difference between corn
and soybean, while ci.gr, there should be a difference. If I use the
simplistic form described in Dallgaard (see example in code below) it
does not work correctly. What do I need to do to test for this
interaction? Thank you!
My data is located here: ftp://snrftp.unl.edu/Outgoing/example/
Here is my example code:
###load data###
data <- read.csv("example.csv", header=TRUE)
eq <- function(x,a,b,c) {a+b*exp(x^c)}
##create non-linear models##
nls.ci.re <- nls(lai~eq(ci.re,a,b,c),data=data, start=c(a=1,b=1,c=1))
nls.ci.gr <- nls(lai~eq(...