search for: pred_wt

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

Did you mean: pred_d
2012 Jul 12
2
nls question
...= 0.0, beta = 1, gamma = 0.2), trace = TRUE)   ### I get the error below: Error in nls(weight ~ alpha + beta * exp(gamma * week), weightData, start = c(alpha = 0,  :   number of iterations exceeded maximum of 50 M_model ### predict for another 2 weeks newD <- data.frame(week = 1:52);newD newD$pred_wt <- predict(M_model, newD) newD plot(pred_wt ~ week, newD, pch = 4, col = "red", ylab = "Weight", xlab = "Week") with(weightData, points(week, weight,col='blue')) Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish & Wild...