Displaying 6 results from an estimated 6 matches for "storchi".
2005 Mar 21
1
menu() and commands assigned to choices ->break out a repeat loop so that the next code lines to be read
...;goto" associated to a
"label") or a pause like command to prevent R from reading the entire script??
I actually have this kind of code
reapeat{
...
...
...
switch(menu(c("continue to select points","modelling"),next,break))
}
...
...
Thanks a lot
Guillaume STORCHI
2005 Mar 21
1
classes of data (with a variable size)
How is it possible to "split" a data.frame in order to get classes with
variable size.
actually I'd like to get classes of data with classe size (cs) so that
cs becomes bigger with an other increasing value.
Guillaume Storchi
2005 Mar 23
1
nl regression with 8 parameters, help!
...I got 8 fitted values that I enventually embedded in my nls()
function, like above, yet R talled me:
"Error in nlsModel(formula, mf, start) : singular gradient matrix at initial
parameter estimates"
should I use optim() or optimize()?
How could I perform it?
Thanks for help
Guillaume Storchi
2005 Mar 18
3
Non linear modeling
AFAIK most model fitting techniques will only deal with additive errors, not
multiplicative ones. You might want to try fitting:
log(y-x) = a*x + e
which is linear.
Andy
> From: Angelo Secchi
>
> Hi,
> is there a way in R to fit a non linear model like
>
> y=x+exp(a*x)*eps
>
> where a is the parameter and eps is the error term?
> Thanks
> Angelo
>
>
2005 Mar 22
1
nls() and "singular grandient"
Hello,
I have a problem with nls() when I want to fit a model with more than two
parameters to be fitted which are written as start=list(a1=,a2=,a3=,...).
Everytime, it displays:'error... singular gradient'
it's a real pain!!!
Hope sb knows something about this
Thanks
GS
2005 Mar 18
0
Re: non-linear model
if a and eps are parameters to be fitted
X<-nls(y~x+exp(a*x)*eps, data=,start=list(a=,eps=))