Skip to content

suggested additions #21

@bbolker

Description

@bbolker

Since gtools is very lightweight and already widely used, it seems like it would be a useful place to put small/lightweight utilities that are not already available in a lightweight package (i.e., they're either in a heavy package [lots of dependencies, compiled code ...] or only in blog posts etc.).

  • logspace addition/subtraction/summation etc. (in hmmTMB, matrixStats, also in base R C code and R.h as logspace_(add|sub|sum)
  • self-naming lists? lme4::namedList, tibble::lst()
  • array-melting (from reshape2::melt) is as.data.frame.table(x) so not necessary, but maybe a convenience/mnemonic wrapper (and an option to rename the value column)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions