[R] Help specifying a non-linear model in nlsLM()

2014-12-16 Thread Chandrasekhar Rudrappa
Dear All, I am trying to fit the following model in nlsLM(): fn5 <- function(x, T, t1, w_inf, Lt0){ S<-function(x, T, t1){ x+(1-T)/(2*pi)*sin(2*pi*(x-t1)/(1-T)) } F <- function(x, T, t1){ t2 <- t1 + (1-T)/2 t3 <- t1 + (1+T)/2 t.factorial <- x%%1 floor(x)*(1-T) + S(t.factorial, T, t1)*(0<=t.factor

[R] Help in code for fitting a growth model

2014-11-15 Thread Chandrasekhar Rudrappa
I have to fit a model to growth data of Hevea (rubber) trees. The details are outlined in the attached docx file. Kind help is solicited. -- Dr. TR Chandrasekhar, M.Sc., M. Tech., Ph. D., Sr. Scientist Rubber Research Institute of India Hevea Breeding Sub Station Kadaba - 574 221 DK Dt., Karnatak

[R] Save Workspace Image? problem at start up

2011-09-07 Thread Chandrasekhar Rudrappa
Dear Sir, I am using R 2.13.1. Since yesterday when I start the Rgui the message "Save Workspace Image?" shows up immediately on opening. Even if I cancel, it does not get cancelled. If I select either no or yes, it quits. I do not know all of a sudden what happened? Right from yesterday I am