Quantify outbreak risk posed by individual importers of a transmissible pathogen. Input parameters of negative binomial offspring distributions for the number of transmissions from each infected individual and initial number of infected. Calculate probabilities of final outbreak size and generations of transmission, as described in Toth et al. (2015) <doi:10.3201/eid2108.150170> and Toth et al. (2016) <doi:10.1016/j.epidem.2016.04.002>.
Predict the course of clinical trial with a time-to-event endpoint for both two-arm and single-arm design. Each of the four primary study design parameters (the expected number of observed events, the number of subjects enrolled, the observation time, and the censoring parameter) can be derived analytically given the other three parameters. And the simulation datasets can be generated based on the design settings.
This is a LaTeX2e class for typesetting recipes. It is designed for typesetting one or two recipes per page, with dimensions of 5.5 x 8.5. The hyperlinked table of contents and page numbers make browsing recipes convenient, and the pages can be joined together or printed two per sheet to normal letterpaper easily. The size was chosen to work in half-page 3-ring binder cover sheets.
Historical borrowing in clinical trials can improve precision and operating characteristics. This package supports a hierarchical model and a mixture model to borrow historical control data from other studies to better characterize the control response of the current study. It also quantifies the amount of borrowing through benchmark models (independent and pooled). Some of the methods are discussed by Viele et al. (2013) <doi:10.1002/pst.1589>.
This package provides tools to calculate the alpha parameter of the Weibull distribution, given beta and the age-specific fertility of a species, so that the population remains stable and stationary. Methods are inspired by "Survival profiles from linear models versus Weibull models: Estimating stable and stationary population structures for Pleistocene large mammals" (Martà n-González et al. 2019) <doi:10.1016/j.jasrep.2019.03.031>.
The AWAggregatorData package contains the data associated with the AWAggregator R package. It includes two pre-trained random forest models, one incorporating the average coefficient of variation as a feature, and the other one not including it. It also contains the PSMs in Benchmark Set 1~3 derived from the psm.tsv output files generated by FragPipe, which are used to train the random forest models.
This package provides nested sequential Monte Carlo algorithms for performing sequential inference in the Bayesian Mallows model, which is a widely used probability model for rank and preference data. The package implements the SMC2 (Sequential Monte Carlo Squared) algorithm for handling sequentially arriving rankings and pairwise preferences, including support for complete rankings, partial rankings, and pairwise comparisons. The methods are based on Sorensen (2025) <doi:10.1214/25-BA1564>.
This package provides functions for nonlinear time series analysis. This package permits the computation of the most-used nonlinear statistics/algorithms including generalized correlation dimension, information dimension, largest Lyapunov exponent, sample entropy and Recurrence Quantification Analysis (RQA), among others. Basic routines for surrogate data testing are also included. Part of this work was based on the book "Nonlinear time series analysis" by Holger Kantz and Thomas Schreiber (ISBN: 9780521529020).
This package implements consistent loss functions and the corresponding identification functions for point forecasts, including those of the mean, the median, quantiles, expectiles, moments and Huber functionals (Gneiting T (2011) <doi:10.1198/jasa.2011.r10138>; Fissler T, Ziegel JF (2016) <doi:10.1214/16-AOS1439>). Pointwise losses and realised average scores are both available. Detailed documentation of the functions properties is included for facilitating the interpretation of results.
Constructs likelihood models from heterogeneous observation types by composing named contributions. Each observation type (exact, left-censored, right-censored, interval-censored, or custom) contributes independently to the total log-likelihood, which is summed under an i.i.d. assumption. Provides contr_name() for standard R distributions and contr_fn() for user-defined contributions, composed via likelihood_contr() into objects compatible with the likelihood.model inference framework.
This package provides tools to efficiently analyze and visualize laboratory data from aqueous static adsorption experiments. The package provides functions to plot Langmuir, Freundlich, and Temkin isotherms and functions to determine the statistical conformity of data points to the Langmuir, Freundlich, and Temkin adsorption models through statistical characterization of the isothermic least squares regressions lines. Scientific Reference: Dada, A.O, Olalekan, A., Olatunya, A. (2012) <doi:10.9790/5736-0313845>.
This package performs Diallel Analysis with R using Griffing's and Hayman's approaches. Four different Methods (1: Method-I (Parents + F1's + reciprocals); 2: Method-II (Parents and one set of F1's); 3: Method-III (One set of F1's and reciprocals); 4: Method-IV (One set of F1's only)) and two Models (1: Fixed Effects Model; 2: Random Effects Model) can be applied using Griffing's approach.
Table logger using Rich, aimed at PyTorch Lightning logging.
Features
display your training logs with pretty rich tables
describe your fields with goal, format and name
a field descriptor can be matched with any regex
a field name can be computed as a regex substitution
works in Jupyter notebooks as well as in a command line
integrates easily with Pytorch Lightning
Use inverse probability weighting methods to estimate treatment effect under marginal structure model (MSM) for the transition hazard of semi competing risk data, i.e. illness death model. We implement two specific such models, the usual Markov illness death structural model and the general Markov illness death structural model. We also provide the predicted three risks functions from the marginal structure models. Zhang, Y. and Xu, R. (2022) <arXiv:2204.10426>.
This package provides tools for creating detailed dataframes for common statistical approaches and tests. These include parametric, nonparametric, robust, and Bayesian t-test, one-way ANOVA, correlation analyses, contingency table analyses, and meta-analyses. The functions are pipe-friendly and provide a consistent syntax to work with tidy data. These dataframes additionally contain expressions with statistical details, and can be used in graphing packages. This package also forms the statistical processing backend for ggstatsplot.
An R re-implementation of the treeinterpreter package on PyPI <https://pypi.org/project/treeinterpreter/>. Each prediction can be decomposed as prediction = bias + feature_1_contribution + ... + feature_n_contribution'. This decomposition is then used to calculate the Mean Decrease Impurity (MDI) and Mean Decrease Impurity using out-of-bag samples (MDI-oob) feature importance measures based on the work of Li et al. (2019) <doi:10.48550/arXiv.1906.10845>.
Gene regulatory networks model the underlying gene regulation hierarchies that drive gene expression and observed phenotypes. Epiregulon infers TF activity in single cells by constructing a gene regulatory network (regulons). This is achieved through integration of scATAC-seq and scRNA-seq data and incorporation of public bulk TF ChIP-seq data. Links between regulatory elements and their target genes are established by computing correlations between chromatin accessibility and gene expressions.
The purpose of this package is to remove the @import dependence of an external package by consolidating the functions into your package. This may be necessary when the @import package is decommissioned by CRAN, and you do not want your dependent package to also be decommissioned. The functions in this package recursively retrieve dependencies in the external package. It also performs the other needed bookkeeping, such as retrieving .Rd files in the man subdirectory.
Stacking rings are tools used to stack pottery in a Kiln. A relatively large group of stacking rings was found in the area of the sanctuary of Dionysos in Miletus in the 1970s. Measurements and additional info is gathered in this package and made available for use by other researchers. The data along with its archaeological context and analysis has been published in "Archäologischer Anzeiger" (2020/1, <doi:10.34780/aa.v0i1.1014>).
Fits 2D and 3D geometric transformations via Stan probabilistic programming engine ( Stan Development Team (2021) <https://mc-stan.org>). Returns posterior distribution for individual parameters of the fitted distribution. Allows for computation of LOO and WAIC information criteria (Vehtari A, Gelman A, Gabry J (2017) <doi:10.1007/s11222-016-9696-4>) as well as Bayesian R-squared (Gelman A, Goodrich B, Gabry J, and Vehtari A (2018) <doi:10.1080/00031305.2018.1549100>).
This package contains a collection of symbols for typesetting electrical wiring diagrams for relay control systems. The symbols are meant to be in agreement with the international standard IEC-60617 which has been adopted worldwide, with perhaps the exception of the USA. It extends and modifies, when needed, the TikZ-library circuits.ee.IEC. A few non-standard symbols are also included mainly to be used in presentations, particularly with the beamer package.
Utility functions for working with environmental time series data from known locations. The compact data model is structured as a list with two dataframes. A meta dataframe contains spatial and measuring device metadata associated with deployments at known locations. A data dataframe contains a datetime column followed by columns of measurements associated with each "device-deployment". Ephemerides calculations are based on code originally found in NOAA's "Solar Calculator" <https://gml.noaa.gov/grad/solcalc/>.
Fits generalized linear models, Cox proportional-hazards models, log-rank tests, generalized estimating equations, mixed models with repeated measures, Kaplan-Meier curves, quantile differences, and hierarchical net-benefit (win-difference) and log win-ratio statistics jointly across multiple endpoints, and returns the full asymptotic covariance matrix linking them. Implements PATED (Prognostic Assisted Treatment Effect Detection), a randomized-trial method that exploits balanced prognostic covariates to tighten standard errors and increase statistical power without introducing bias.
Enhances koRpus text object classes and methods to also support large corpora. Hierarchical ordering of corpus texts into arbitrary categories will be preserved. Provided classes and methods also improve the ability of using the koRpus package together with the tm package. To ask for help, report bugs, suggest feature improvements, or discuss the global development of the package, please subscribe to the koRpus-dev mailing list (<https://korpusml.reaktanz.de>).