Package: declared 0.25.1
declared: Functions for Declared Missing Values
A zero dependency package containing functions to declare labels and missing values, coupled with associated functions to create (weighted) tables of frequencies and various other summary measures. Some of the base functions have been rewritten to make use of the specific information about the missing values, most importantly to distinguish between empty and declared NA values. Some functions have similar functionality with the corresponding ones from packages "haven" and "labelled". The aim is to ensure as much compatibility as possible with these packages, while offering an alternative in the objects of class "declared".
Authors:
declared_0.25.1.tar.gz
declared_0.25.1.zip(r-4.5)declared_0.25.1.zip(r-4.4)declared_0.25.1.zip(r-4.3)
declared_0.25.1.tgz(r-4.4-x86_64)declared_0.25.1.tgz(r-4.4-arm64)declared_0.25.1.tgz(r-4.3-x86_64)declared_0.25.1.tgz(r-4.3-arm64)
declared_0.25.1.tar.gz(r-4.5-noble)declared_0.25.1.tar.gz(r-4.4-noble)
declared_0.25.1.tgz(r-4.4-emscripten)declared_0.25.1.tgz(r-4.3-emscripten)
declared.pdf |declared.html✨
declared/json (API)
NEWS
# Install 'declared' in R: |
install.packages('declared', repos = c('https://dusadrian.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dusadrian/declared/issues
Last updated 1 months agofrom:81c94af3f0. Checks:OK: 1 NOTE: 8. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win-x86_64 | NOTE | Nov 10 2024 |
R-4.5-linux-x86_64 | NOTE | Nov 10 2024 |
R-4.4-win-x86_64 | NOTE | Nov 10 2024 |
R-4.4-mac-x86_64 | NOTE | Nov 10 2024 |
R-4.4-mac-aarch64 | NOTE | Nov 10 2024 |
R-4.3-win-x86_64 | NOTE | Nov 10 2024 |
R-4.3-mac-x86_64 | NOTE | Nov 10 2024 |
R-4.3-mac-aarch64 | NOTE | Nov 10 2024 |
Exports:anyNAdeclaredanyNAemptyanyTagged_as.declaredas.havendeclareddrop_naformat_declaredgetTag_hasTag_is.declaredis.emptylabellabel<-labels<-makeTag_measurementmeasurement<-missing_rangemissing_range<-missing_valuesmissing_values<-names_valuesorder_declaredundeclarevalue_labelsvariable_labelw_fivenumw_IQRw_meanw_medianw_modew_quantilew_sdw_standardizew_summaryw_tablew_var
Dependencies:
a. Motivation for the declared package
Rendered froma_Declared_solution.Rmd
usingknitr::rmarkdown
on Nov 10 2024.Last update: 2024-09-05
Started: 2022-08-17
b. Added value
Rendered fromb_Added_value.Rmd
usingknitr::rmarkdown
on Nov 10 2024.Last update: 2024-09-05
Started: 2022-08-17
c. Weighting (declared) values
Rendered fromc_Weighting.Rmd
usingknitr::rmarkdown
on Nov 10 2024.Last update: 2024-09-05
Started: 2022-08-17
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Labelled vectors with declared missing values | anyNAdeclared as.declared declared is.declared |
Coerce to haven / labelled objects | as.haven |
Drop information / undeclare labelled objects | drop_na drop_undeclare undeclare |
Test the presence of empty (undeclared) missing values | anyNAempty is.empty |
Get / Declare value labels | label label<- labels labels<- |
Get / Set measurement levels for declared objects | measurement measurement<- |
Get / Declare missing values | missing_range missing_range<- missing_values missing_values<- |
Compute weighted summaries for declared objects | weighted w_fivenum w_IQR w_mean w_median w_mode w_quantile w_sd w_standardize w_summary w_table w_var |