Re: [Rd] [External] Re: Help useRs to use R's own Time/Date objects more efficiently

2020-04-05 Thread Mark Leeds
gt; > I couldn't find a discussion of POSIXct/POSIXlt objects in the R > > manuals (unless I missed it somewhere), so perhaps "An Introduction to > > R" could be updated to include this subject, and then the help files > > could reference that? > > > &g

Re: [Rd] Help useRs to use R's own Time/Date objects more efficiently

2020-04-05 Thread Mark Leeds
Hi All: I've been following this thread and just want to add one pointer. For those who aren't interested in using new packages that try to make dates-times easier but also find the base R tools confusing, below is link to an extremely well written document from over 15 years ago. It's probably al

Re: [Rd] Wrongly converging glm()

2017-07-21 Thread Mark Leeds
ing “small” gradient and “positive definite” > Hessian, since these can depend upon the scale of the objective function > and the parameters. > > > > Ravi > > > > *From:* Mark Leeds [mailto:marklee...@gmail.com] > *Sent:* Friday, July 21, 2017 3:09 PM > *To:

Re: [Rd] Wrongly converging glm()

2017-07-21 Thread Mark Leeds
el-boun...@r-project.org] On Behalf Of > Therneau, Terry M., Ph.D. > Sent: Friday, July 21, 2017 8:04 AM > To: r-devel@r-project.org; Mark Leeds ; > jorism...@gmail.com; westra.harm...@outlook.com > Subject: Re: [Rd] Wrongly converging glm() > > I'm chiming in late sin

Re: [Rd] Wrongly converging glm()

2017-07-20 Thread Mark Leeds
Hi Harm-Jan. I've been following this thread to some degree and just want to add that this issue is not specific to the GLM. It's a problem with optimization of functions in general. I was using use Rvmmin with constraints which is an extremely solid optimization package written by John Nash ( use

Re: [Rd] optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound

2016-10-08 Thread Mark Leeds
to encounter convergence > problems. I should probably switch to optimx using all the methods that > offers for constrained optimization, including nminb. > > > Best Wishes, > Spencer Graves > > > > On 10/8/2016 5:00 PM, Mark Leeds wrote: > > Hi Spencer

Re: [Rd] optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound

2016-10-08 Thread Mark Leeds
Hi Spencer: See the link below about L-BFGS-B below because I had problems with it a good while back (and I think the link description is the cause but I can't prove it ) so eventually I moved to the Rvmmin(b) package. It's a package but really an algorithm. Rvmmin(b) uses a variable-metric alg

Re: [Rd] Recommended way to call/import functions from a Suggested package

2013-02-22 Thread Mark Leeds
ld be installed from cran. On Fri, Feb 22, 2013 at 10:07 PM, Mark Leeds wrote: > Hi David: According to the description on cran, lattice imports grid. > > I don't know if you've seen it but www.obeautifulcode.com has a very nice > topic in its archives called "How R Se

Re: [Rd] Recommended way to call/import functions from a Suggested package

2013-02-22 Thread Mark Leeds
Hi David: According to the description on cran, lattice imports grid. I don't know if you've seen it but www.obeautifulcode.com has a very nice topic in its archives called "How R Searches and Finds Stuff" which is relatde to your question that I found it to be really helpful. A lot of people on

Re: [Rd] The constant part of the log-likelihood in StructTS

2012-05-02 Thread Mark Leeds
Hi Ravi: As far as I know ( well , really read ) and Bert et al can say more , the AIC is not dependent on the models being nested as long as the sample sizes used are the same when comparing. In some cases, say comparing MA(2), AR(1), you have to be careful with sample size usage but there is no n

Re: [Rd] Trying to understand the search path and namespaces

2010-11-15 Thread Mark Leeds
Hi Duncan: Luke's article is in the June, 2003 edition of R-news On Mon, Nov 15, 2010 at 8:43 PM, Duncan Murdoch wrote: > Hadley Wickham wrote: > >> Hi all, >> >> I'm trying to understand how the search path and namespaces interact. >> For example, take the devtools package which suggests the te