> I think that it would be better to handle factors, character predictors, and
> logical predictors consistently.
"logical predictors" can be regarded as categorical or continuous (i.e. 0 or 1).
And the model matrix should be the same, either way.
I think the first question to be asked is,
Prior to R-3.6.0 the keys in the lazyload key files, e.g.
pkg/data/Rdata.rdx or pkg/R/pkg.rdx, seemed to all be 2-long integer
vectors. Now they can be lists. The ones I have seen have two components,
"eagerKey" is a 2-long integer vector and "lazyKeys" is a named list of
2-long integer vectors.
Hi,
I recently asked some questions about my R package which were well responded by
Dirk.
I have another question related to pkg_config path,
I am using this command to add the installation path to the PKG_CONFIG_PATH
so that all cmake commands can get the required libraries from this path,
Dear R-devel list members,
I've discovered an inconsistency in how lm() and similar functions handle
logical predictors as opposed to factor or character predictors. An "lm" object
for a model that includes factor or character predictors includes the levels of
a factor or unique values of a
...and 14955, which seems to have the explanation (but was marked as
closed/fixed??). The parser does list '?' as lower precedence than '=', but
'='-assignments are not normal 'expr's which can appear as arguments to '?'.
(Presumably because of named arguments: f(a=b) differs from f(a<-b).)
When adding static vignettes, it is a good idea to put the 'real' ones
somewhere under inst/doc.
A manual index file under inst/doc/ will add the benefit that the help system
will present to the user the real code and not the stub Rnw in the approach
suggested by Michael. Package Countr
See also: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16710
On Fri, Aug 30, 2019 at 9:02 AM William Dunlap via R-devel
wrote:
>
> Precedence is a property of the parser and has nothing to do with the
> semantics assigned to various symbols. Using just core R functions you can
> see the
Precedence is a property of the parser and has nothing to do with the
semantics assigned to various symbols. Using just core R functions you can
see the precedence of '?' is between those of '=' and '<-'.
> # '=' has lower precedence than '?'
> str(as.list(parse(text="a ? b = c")[[1]]))
List of
At the cost of some level of reproducibility, you could use a static
vignette and be very clear about the package versions used in the
comparisons:
http://www.markvanderloo.eu/yaRb/2019/01/11/add-a-static-pdf-vignette-to-an-r-package/
As this does diminish the coherence of CRAN somewhat I'm not
On 30/08/2019 15:58, Dirk Eddelbuettel wrote:
On 30 August 2019 at 07:24, Dirk Eddelbuettel wrote:
|
| On 30 August 2019 at 11:10, Serguei Sokol wrote:
| | I am preparing a new package r2sundials for submission to cran. It
| | depends on third part software
| |
Comments in-line
On 30/08/2019 14:59, Iñaki Ucar wrote:
On Fri, 30 Aug 2019 at 15:26, J C Nash wrote:
I'm seeking some general advice about including vignettes in my packages,
which are largely for nonlinear estimation and function minimization
(optimization).
This means that my packages
Hi Ralf,
On 30/08/2019 16:04, Ralf Stubner wrote:
On Fri, Aug 30, 2019 at 11:10 AM Serguei Sokol wrote:
I am preparing a new package r2sundials for submission to cran. It
depends on third part software
(https://computing.llnl.gov/projects/sundials).
Are you aware of the sundialr package?
On Fri, Aug 30, 2019 at 11:10 AM Serguei Sokol wrote:
> I am preparing a new package r2sundials for submission to cran. It
> depends on third part software
> (https://computing.llnl.gov/projects/sundials).
Are you aware of the sundialr package?
https://cran.r-project.org/package=sundialr
> This
On Fri, 30 Aug 2019 at 15:26, J C Nash wrote:
>
> I'm seeking some general advice about including vignettes in my packages,
> which are largely for nonlinear estimation and function minimization
> (optimization).
> This means that my packages offer alternatives to many other tools, and the
>
On 30 August 2019 at 07:24, Dirk Eddelbuettel wrote:
|
| On 30 August 2019 at 11:10, Serguei Sokol wrote:
| | I am preparing a new package r2sundials for submission to cran. It
| | depends on third part software
| | (https://computing.llnl.gov/projects/sundials). This will be my first
| |
I'm seeking some general advice about including vignettes in my packages,
which are largely for nonlinear estimation and function minimization
(optimization).
This means that my packages offer alternatives to many other tools, and the user
then has the chore of deciding which is appropriate. Bad
16 matches
Mail list logo