Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 48 packages in 0.03 seconds

nimble — by Christopher Paciorek, 3 months ago

MCMC, Particle Filtering, and Programmable Hierarchical Modeling

A system for writing hierarchical statistical models largely compatible with 'BUGS' and 'JAGS', writing nimbleFunctions to operate models and do basic R-style math, and compiling both models and nimbleFunctions via custom-generated C++. 'NIMBLE' includes default methods for MCMC, Laplace Approximation, deterministic nested approximations, Monte Carlo Expectation Maximization, and some other tools. The nimbleFunction system makes it easy to do things like implement new MCMC samplers from R, customize the assignment of samplers to different parts of a model from R, and compile the new samplers automatically via C++ alongside the samplers 'NIMBLE' provides. 'NIMBLE' extends the 'BUGS'/'JAGS' language by making it extensible: New distributions and functions can be added, including as calls to external compiled code. Although most people think of MCMC as the main goal of the 'BUGS'/'JAGS' language for writing models, one can use 'NIMBLE' for writing arbitrary other kinds of model-generic algorithms as well. A full User Manual is available at < https://r-nimble.org>.

softclassval — by Claudia Beleites, 2 years ago

Soft Classification Performance Measures

An extension of sensitivity, specificity, positive and negative predictive value to continuous predicted and reference memberships in [0, 1].

coloc — by Chris Wallace, 3 years ago

Colocalisation Tests of Two Genetic Traits

Performs the colocalisation tests described in Giambartolomei et al (2013) , Wallace (2020) , Wallace (2021) .

hySpc.testthat — by Claudia Beleites, a year ago

Unit Test Add-on for 'testthat'

Enhance package 'testthat' by allowing tests to be attached to the function/object they test. This allows to keep functional and unit test code together.

genomicper — by Claudia P Cabrera, 9 months ago

Circular Genomic Permutation using Genome Wide Association p-Values

Circular genomic permutation approach uses genome wide association studies (GWAS) results to establish the significance of pathway/gene-set associations whilst accounting for genomic structure. All single nucleotide polymorphisms (SNPs) in the GWAS are placed in a 'circular genome' according to their location. Then the complete set of SNP association p-values are permuted by rotation with respect to the SNPs' genomic locations. Two testing frameworks are available: permutations at the gene level, and permutations at the SNP level. The permutation at the gene level uses Fisher's combination test to calculate a single gene p-value, followed by the hypergeometric test. The SNP count methodology maps each SNP to pathways/gene-sets and calculates the proportion of SNPs for the real and the permutated datasets above a pre-defined threshold. Genomicper requires a matrix of GWAS association p-values and SNPs annotation to genes. Pathways can be obtained from within the package or can be provided by the user. Cabrera et al (2012) .

mosum — by Haeran Cho, 4 years ago

Moving Sum Based Procedures for Changes in the Mean

Implementations of MOSUM-based statistical procedures and algorithms for detecting multiple changes in the mean. This comprises the MOSUM procedure for estimating multiple mean changes from Eichinger and Kirch (2018) and the multiscale algorithmic extension from Cho and Kirch (2022) , as well as the bootstrap procedure for generating confidence intervals about the locations of change points as proposed in Cho and Kirch (2022) . See also Meier, Kirch and Cho (2021) which accompanies the R package.

uniReg — by Claudia Koellmann, 10 years ago

Unimodal Penalized Spline Regression using B-Splines

Univariate spline regression. It is possible to add the shape constraint of unimodality and predefined or self-defined penalties on the B-spline coefficients.

IsingFit — by Sacha Epskamp, 3 years ago

Fitting Ising Models Using the ELasso Method

This network estimation procedure eLasso, which is based on the Ising model, combines l1-regularized logistic regression with model selection based on the Extended Bayesian Information Criterion (EBIC). EBIC is a fit measure that identifies relevant relationships between variables. The resulting network consists of variables as nodes and relevant relationships as edges. Can deal with binary data.

NetworkComparisonTest — by Don van den Bergh, 3 months ago

Statistical Comparison of Two Networks Based on Several Invariance Measures

This permutation based hypothesis test, suited for several types of data supported by the estimateNetwork function of the bootnet package (Epskamp & Fried, 2018), assesses the difference between two networks based on several invariance measures (network structure invariance, global strength invariance, edge invariance, several centrality measures, etc.). Network structures are estimated with l1-regularization. The Network Comparison Test is suited for comparison of independent (e.g., two different groups) and dependent samples (e.g., one group that is measured twice). See van Borkulo et al. (2021), available from .

mfcurve — by Maximilian Frank, 10 months ago

Multi-Factor Curve Analysis for Grouped Data in 'R'

Implements multi-factor curve analysis for grouped data in 'R', replicating and extending the functionality of the the 'Stata' ado 'mfcurve' (Krähmer, 2023) < https://ideas.repec.org/c/boc/bocode/s459224.html>. Related to the idea of specification curve analysis (Simonsohn, Simmons, and Nelson, 2020) . Includes data preprocessing, statistical testing, and visualization of results with confidence intervals.