[R] Exponential fit of form y=exp(a*x) and not of form y=l*exp(a*x)

2011-10-23 Thread Henri Mone
Dear R Users, Beginners and Experts, I want to fit to my data an exponential function with following functional form: y=exp(a*x) I used the function "nls" but this gives me exponential fits with following functional form: y=l*exp(a*x) With "l" being an scaling factor. What do I need to change in

Re: [R] Fitting parabolic function to data

2011-10-06 Thread Henri Mone
Hi Duncan, Thanks for your reply. You saved my Day :) Thanks, Henri On Thu, Oct 6, 2011 at 12:07 PM, Duncan Murdoch wrote: > On 11-10-06 4:59 AM, Henri Mone wrote: >> >> Dear R users and experts, >> >> I want to fit a shifted parabolic function with the followi

[R] Fitting parabolic function to data

2011-10-06 Thread Henri Mone
Dear R users and experts, I want to fit a shifted parabolic function with the following functional form to my data: f(x)=a0*(x+a1)^2+a2 (a0, a1 and a2 are scaling factors.) What is standard approach to do this in R? I tried the "lm" function in R but I got problems getting the above functional f

[R] Convert "RDX" and "RDB" to ASCII format?

2011-09-13 Thread Henri Mone
Dear R users and experts, I need to modify an exisiting R function from a package. The function/ variable is inside a namespace and I have problems accessing it. I only need to get access to to corresponding sourcecode. I localised the "RDX" and "RDB" files. But it seems to be a binary format. How

Re: [R] ODBC MySql DB: sqlQuery empty

2011-07-17 Thread Henri Mone
, Jul 17, 2011 at 3:46 PM, Henri Mone wrote: >> Dear R Beginners, Experts and Users, >> >> I already asked this question on the R-sig-DB mailing list, but sadly >> didn't got a reply :-( . >> Keeping fingers crossed that I have more luck on the main R mailinglist

[R] ODBC MySql DB: sqlQuery empty

2011-07-17 Thread Henri Mone
Dear R Beginners, Experts and Users, I already asked this question on the R-sig-DB mailing list, but sadly didn't got a reply :-( . Keeping fingers crossed that I have more luck on the main R mailinglist :) . I'm trying to connect to a MySQl database via Gnu R using the RODBC interface. The conen

Re: [R] MySql Versus R

2011-04-04 Thread Henri Mone
Dear All, Thank you to all of you for your fast reply. I will run the test and subscribe to the R-sig-db list. Cheers, Henri __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] MySql Versus R

2011-04-01 Thread Henri Mone
Dear R Users, I use for my data crunching a combination of MySQL and GNU R. I have to handle huge/ middle seized data which is stored in a MySql database, R executes a SQL command to fetch the data and does the plotting with the build in R plotting functions. The (low level) calculations like sum

[R] cpgram: access data, confidence bands

2010-11-22 Thread Henri Mone
Dear R experts, beginners and everyone else, I'm calculating "cumulative periodogram" using the command "cpgram" [1] from the MASS library. Here is a short example with the "lh" (hormone level) dataset: library(MASS) plot(lh,type="l",ylab="value",xlab="time", main="Hormone Levels (lh)") spe