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

Found 96 packages in 0.02 seconds

logiBin — by Sneha Tody, 8 years ago

Binning Variables to Use in Logistic Regression

Fast binning of multiple variables using parallel processing. A summary of all the variables binned is generated which provides the information value, entropy, an indicator of whether the variable follows a monotonic trend or not, etc. It supports rebinning of variables to force a monotonic trend as well as manual binning based on pre specified cuts. The cut points of the bins are based on conditional inference trees as implemented in the partykit package. The conditional inference framework is described by Hothorn T, Hornik K, Zeileis A (2006) .

exams.forge — by Sigbert Klinke, 3 months ago

Support for Compiling Examination Tasks using the 'exams' Package

The main aim is to further facilitate the creation of exercises based on the package 'exams' by Grün, B., and Zeileis, A. (2009) . Creating effective student exercises involves challenges such as creating appropriate data sets and ensuring access to intermediate values for accurate explanation of solutions. The functionality includes the generation of univariate and bivariate data including simple time series, functions for theoretical distributions and their approximation, statistical and mathematical calculations for tasks in basic statistics courses as well as general tasks such as string manipulation, LaTeX/HTML formatting and the editing of XML task files for 'Moodle'.

GGenemy — by Andy Man Yeung Tai, a month ago

Audit 'ggplot2' Visualizations for Accessibility and Best Practices

Audits 'ggplot2' visualizations for accessibility issues, misleading practices, and readability problems. Checks for color accessibility concerns including colorblind-unfriendly palettes, misleading scale manipulations such as truncated axes and dual y-axes, text readability issues like small fonts and overlapping labels, and general accessibility barriers. Provides comprehensive audit reports with actionable suggestions for improvement. Color vision deficiency simulation uses methods from the 'colorspace' package Zeileis et al. (2020) . Contrast calculations follow WCAG 2.1 guidelines (W3C 2018 < https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum>).

drugDemand — by Kaifeng Lu, 2 years ago

Drug Demand Forecasting

Performs drug demand forecasting by modeling drug dispensing data while taking into account predicted enrollment and treatment discontinuation dates. The gap time between randomization and the first drug dispensing visit is modeled using interval-censored exponential, Weibull, log-logistic, or log-normal distributions (Anderson-Bergman (2017) ). The number of skipped visits is modeled using Poisson, zero-inflated Poisson, or negative binomial distributions (Zeileis, Kleiber & Jackman (2008) ). The gap time between two consecutive drug dispensing visits given the number of skipped visits is modeled using linear regression based on least squares or least absolute deviations (Birkes & Dodge (1993, ISBN:0-471-56881-3)). The number of dispensed doses is modeled using linear or linear mixed-effects models (McCulloch & Searle (2001, ISBN:0-471-19364-X)).

convergenceDFM — by José Mauricio Gómez Julián, 14 days ago

Convergence and Dynamic Factor Models

Tests convergence in macro-financial panels combining Dynamic Factor Models (DFM) and mean-reverting Ornstein-Uhlenbeck (OU) processes. Provides: (i) static/approximate DFMs for large panels with VAR/VECM stability checks, Portmanteau tests and rolling out-of-sample R^2, following Stock and Watson (2002) and the Generalized Dynamic Factor Model of Forni, Hallin, Lippi and Reichlin (2000) ; (ii) cointegration analysis à la Johansen (1988) ; (iii) OU-based convergence and half-life summaries grounded in Uhlenbeck and Ornstein (1930) and Vasicek (1977) ; (iv) robust inference via 'sandwich' HC/HAC estimators (Zeileis (2004) ) and regression diagnostics ('lmtest'); and (v) optional PLS-based factor preselection (Mevik and Wehrens (2007) ). Functions emphasize reproducibility and clear, publication-ready summaries.

easyViz — by Luca Corlatti, 15 days ago

Easy Visualization of Conditional Effects from Regression Models

Offers a flexible and user-friendly interface for visualizing conditional effects from a broad range of regression models, including mixed-effects and generalized additive (mixed) models. Compatible model types include lm(), rlm(), glm(), glm.nb(), and gam() (from 'mgcv'); nonlinear models via nls(); and generalized least squares via gls(). Mixed-effects models with random intercepts and/or slopes can be fitted using lmer(), glmer(), glmer.nb(), glmmTMB(), or gam() (from 'mgcv', via smooth terms). Plots are rendered using base R graphics with extensive customization options. Approximate confidence intervals for nls() models are computed using the delta method. Robust standard errors for rlm() are computed using the sandwich estimator (Zeileis 2004) . Methods for generalized additive models follow Wood (2017) . For linear mixed-effects models with 'lme4', see Bates et al. (2015) . For mixed models using 'glmmTMB', see Brooks et al. (2017) .