Other packages > Find by keyword >

weightflow  

Declarative API for Staged Survey Weights
View on CRAN: Click here


Download and install weightflow package within the R console
Install from CRAN:
install.packages("weightflow")

Install from Github:
library("remotes")
install_github("cran/weightflow")

Install by package version:
library("remotes")
install_version("weightflow", "0.1.0")



Attach the package and use:
library("weightflow")
Maintained by
Juan Pablo Ferreira
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-30
Latest Update: 2026-06-30
Description:
Builds survey weights from design base weights by chaining hierarchical adjustments (unknown eligibility, nonresponse and calibration) through a declarative, pipeable, 'tidymodels'-style API. Calibration follows Deville and Sarndal (1992) <doi:10.2307/2290268>. Variances are obtained with a bootstrap that resamples primary sampling units and re-applies the whole recipe on each replicate, following the rescaling bootstrap of Rao and Wu (1988) <doi:10.1080/01621459.1988.10478591>, so the replicate weights carry the variability of every adjustment. The weights also bridge to the 'survey' and 'srvyr' packages for design-based inference.
How to cite:
Juan Pablo Ferreira (2026). weightflow: Declarative API for Staged Survey Weights. R package version 0.1.0, https://cran.r-project.org/web/packages/weightflow. Accessed 14 Jul. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited weightflow R package
View weightflow citation profile
Other R packages that weightflow depends, imports, suggests or enhances
Complete documentation for weightflow
Functions, R codes and Examples using the weightflow R package
Full weightflow package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

pps  
PPS Sampling
Functions to select samples using PPS (probability proportional to size) sampling. The package also ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
surveyCV  
Cross Validation Based on Survey Design
Functions to generate K-fold cross validation (CV) folds and CV test error estimates that take into ...
Download / Learn more Package Citations See dependency  
AutoWeatherIndices  
Calculating Weather Indices
Weather indices are formed from weather variables in this package. The users can input any number of ...
Download / Learn more Package Citations See dependency  
maGUI  
A Graphical User Interface for Microarray Data Analysis and Annotation
Provides a comprehensive graphical user interface for analysis of Affymetrix, Agilent, Illumina, Nim ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA