Despite nlmrt "solving" the OP's problem, I think Gabor's suggestion likely
gives a more sensible approach
to the underlying modelling problem.
It is, of course, sometimes important to fit a particular model, in which case
nls2 and nlmrt are set up to grind away.
And hopefully the follow-up to n
If you are not tied to that model the SSasymp() model in R could be
considered and is easy to fit:
# to plot points in order
o <- order(cl$Area)
cl.o <- cl[o, ]
fm <- nls(Retention ~ SSasymp(Area, Asym, R0, lrc), cl.o)
summary(fm)
plot(Retention ~ Area, cl.o)
lines(fi
Dear,
is there any way of a button on pure TCL run a command within the R via
the tcltk package?
thank you in advance for informations
cleber
what I have in mind is something like: (below)
##
sink("simpletes
I didn't try very hard, but got a solution from .1, 1, .1 with nlxb() from
nlmrt. It took a lot
of iterations and looks to be pretty ill-conditioned. Note nlmrt uses analytic
derivatives if it
can, and a Marquardt method. It is designed to be a pit bull -- tenacious, not
fast.
I'm working on a
> On 10 Oct 2016, at 00:40 , Bert Gunter wrote:
>
> Well... (inline -- and I hope this isn't homework!)
>
Pretty much same as I thought.
Fixing th=0.02 in the grid search looks wrong. Bert's plot is pretty linear, so
th=1 is a good guesstimate. There's a slight curvature but to reduce it, y
Well... (inline -- and I hope this isn't homework!)
On Sun, Oct 9, 2016 at 3:05 PM, Andrew Robinson
wrote:
> Here are some things to try. Maybe divide Area by 1000 and retention
> by 100. Try plotting the data and superimposing the line that
> corresponds to the 'fit' from nls2. See if you
Here are some things to try. Maybe divide Area by 1000 and retention
by 100. Try plotting the data and superimposing the line that
corresponds to the 'fit' from nls2. See if you can correct it with
some careful guesses.
Getting suitable starting parameters for non-linear modeling is one of
the
Hi All,
Just started to experiment with "sparklyr" and already loving it.
I'm trying to build an extension by constructing an R wrapper to Spark's
Gaussian Mixtures. My attempt is below, and so is the error message. Not
sure if this is possible to do, and if so, what is wrong with my code.
Any h
Thank you so much David! Your suggestions worked for me.
On Sun, Oct 9, 2016 at 11:16 AM, David Winsemius wrote:
>
>> On Oct 9, 2016, at 7:56 AM, Ashta wrote:
>>
>> I am trying to query data from Hive service and create a variable.
>>
>>
>> dbGetQuery(hivecon,"select date1, date2 from dateTab
There is no perfect way to do this because you can write functions
that depend on the order of evaluation of their arguments or that
must evaluate some code in the body of the function before evaluating
an argument (e.g., stats:::print.formula) or that don't evaluate them in
the usual sense. Howev
This being the R-help mailing list, not being fluent in random SQL variants is
normal. There is a place for discussing the intersection of R and databases
where the intersection of R with such knowledge might be more typical. I
suggest that Ashta read the Posting Guide to learn about appropriate
> On Oct 9, 2016, at 7:56 AM, Ashta wrote:
>
> I am trying to query data from Hive service and create a variable.
>
>
> dbGetQuery(hivecon,"select date1, date2 from dateTable limit 10")
> date1, date2, Diif
> 4/5/1999, 6/14/2000
> 7/2/1999, 6/26/2000
> 8/14/1999, 8/19/2000
> 11/10/1999, 9/1
> On Oct 9, 2016, at 7:56 AM, Ashta wrote:
>
> I am trying to query data from Hive service and create a variable.
>
>
> dbGetQuery(hivecon,"select date1, date2 from dateTable limit 10")
> date1, date2, Diif
> 4/5/1999, 6/14/2000
> 7/2/1999, 6/26/2000
> 8/14/1999, 8/19/2000
> 11/10/1999, 9/1
I think you need to do some homework on your own first. Have you gone
through any R tutorials? -- there are many good ones on the web.
Including ones on date-time processing in R.
To answer your question directly, read up on date/time classes and
functions with ?"date-time" . You may also find th
Hi,
I have some data that i'm trying to fit a double exponential model: data.
Frame (Area=c (521.5, 689.78, 1284.71, 2018.8, 2560.46, 524.91, 989.05,
1646.32, 2239.65, 2972.96, 478.54, 875.52, 1432.5, 2144.74, 2629.2),
Retention=c (95.3, 87.18, 44.94, 26.36, 18.12, 84.68, 37.24, 33.04, 23.46,
9.7
I am trying to query data from Hive service and create a variable.
dbGetQuery(hivecon,"select date1, date2 from dateTable limit 10")
date1, date2, Diif
4/5/1999, 6/14/2000
7/2/1999, 6/26/2000
8/14/1999, 8/19/2000
11/10/1999, 9/18/2000
8/25/2000, 6/5/2001
3/14/2012, 3/15/2004
Here is what I
> On 09 Oct 2016, at 15:27 , Fox, John wrote:
>
> Dear Peter,
>
> Thanks for the explanation.
>
> Is there a reason that there's no (unthemed) tkspinbox() in tclctk, defined
> as tkspinbox <- function(parent, ...) tkwidget(parent, "spinbox", ...) ?
Only historical coincidence, I think. I "t
Dear Peter,
Thanks for the explanation.
Is there a reason that there's no (unthemed) tkspinbox() in tclctk, defined as
tkspinbox <- function(parent, ...) tkwidget(parent, "spinbox", ...) ?
I noticed this quite some time ago (and probably should have mentioned it
earlier). I define tkspinbox()
According to the gospel of St.Google, our good friends Lawrence & Verzani have
in their book "Programming Graphical User Interfaces in R"
https://books.google.dk/books?id=J-3RBQAAQBAJ&lpg=PA404&ots=MPoWYqHK-h&dq=ttk%20spinbox%20windows&pg=PA404#v=onepage&q=ttk%20spinbox%20windows&f=false
(In ca
19 matches
Mail list logo