MyNixOS website logo
Description

Statistical and Geometrical Tools.

A collection of statistical and geometrical tools including the aligned rank transform (ART; Higgins et al. 1990 <doi:10.4148/2475-7772.1443>; Peterson 2002 <doi:10.22237/jmasm/1020255240>; Wobbrock et al. 2011 <doi:10.1145/1978942.1978963>), 2-D histograms and histograms with overlapping bins, a function for making all possible formulae within a set of constraints, amongst others.

statisfactory

R-CMD-check Project Status: Active – The project has reached a stable, usable state and is being actively developed. cran version

Statistical tools and helper functions, including back-transformation of principal component (PCA) scores, creatiion of all possible formulae from a set of terms while respecting marginality and user-specified constraints, stratified sampling, and 2-D histograms. You can install this package the usual way from CRAN or the development version (plus dependency omnibus) using:

remotes::install_github('adamlilith/omnibus', dependencies=TRUE)
remotes::install_github('adamlilith/statisfactory', dependencies=TRUE)

You may need to install package remotes first.

Functions

Utilities

  • makeFormulae: Make all possible formula

Distance

  • euclid: Euclidean distance
  • fuzzyJaccard: Fuzzy Jaccard index for non-binary values

Calculations

  • geoMean: Geometric mean
  • invLogitAdj: Probit transform robust to 0's or 1's
  • logitAdj: Logit transform robust to 0's and 1's
  • mmode: Modal value
  • psum: Element-wise sum (like pmin and pmax)
  • se: Standard error of the mean

Data transformation

  • art: Aligned rank transform for using ANOVAs on rank data
  • rankMulti: Rank values by multiple tie-breaking criteria

Principal component analysis (PCA)

*backTransPCA: "Back-transform" PCA scores to their original values

Geometry

  • countConnected: Count number of contiguous "blocks" of cells

Sampling

  • sampleAcross: Permute values across two vectors or columns in two data frames or matrices
  • sampleStrat: Sample values stratified by one or more other variables

Statistics

  • nagelR2: Nagelkerge's / Craig & Uhler's R2

Histograms

  • hist2d: Two-dimensional histogram
  • histOverlap: Histogram with overlapping or arbitrary bins

Adam B. Smith.

Metadata

Version

1.0.4

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows