nls2 0.3 on github

47 views
Skip to first unread message

Gabor Grothendieck

unread,
Sep 2, 2020, 9:27:43 AM9/2/20
to sqldf
Version 0.3 of nls2  is on github and can be installed using:

  library(devtools)
  install_github("ggrothendieck/nls2")

It will be moved to CRAN after a period of time.

--------------------------------------------------------------------------------------------------

From README:

The nls2 package has a single function, nls2, which can be used to 
sample an nls formula using grid, uniform random or Latin Hypercube sampling
returning the best result or all of them. This can be useful for
generating starting values for nls.

--------------------------------------------------------------------------------------------------  

From NEWS:

VERSION 0.3

o add lhs (Latin Hypercube Sampling) and plinear-lhs sampling algorithms

o if all iterations fail return NULL

o add README file

o add INSTALL file

o fix Example 5 in help file and change it to use plinear-lhs

o fix number of iterations.  Previously 1 iteration could display incorrectly.

o fix weights. Do not ignore weights (includes contribution by Ben Bolker)

o fix subset. Do not ignore subset argument.  Note that if subset is specified 
  then data must be specified as a data.frame.

o add caveat to help file regarding start argument not supporting the nls
  grouped data list of vector format

Reply all
Forward
Posting...
Reply all
Reply to author
Forward
0 new messages