search for: tmpcount

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

2017 Oct 20
1
Error messages using nonlinear regression function (nls)
...ot; is the proportion of seeds that have germinated from the total. Here is > the code I used to transform the germination data set. When graphed, the > logistic curve provides a reasonable fit. > > data(germination) > germination$TotSeeds = 20 > germination$TotGerminated = 0 > tmpCount = 0 > > for(i in 2:nrow(germination)){ > if((germination$temp[i]!=germination$temp[i-1]) | (germination$species[i] != > germination$species[i-1])) {tmpCount = 0} > if((germination$temp[i]==germination$temp[i-1]) & (germination$species[i] > == germination$species[i-1])) &gt...