Learn R Programming

declared (version 0.25)

Functions for Declared Missing Values

Description

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 NA 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".

Copy Link

Version

Install

install.packages('declared')

Monthly Downloads

2,640

Version

0.25

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Adrian Dusa

Last Published

September 8th, 2024

Functions in declared (0.25)

is.empty

Test the presence of empty (undeclared) missing values
as.haven

Coerce to haven / labelled objects
declared_internal

declared internal functions
missing_range

Get / Declare missing values
labels

Get / Declare value labels
drop_undeclare

Drop information / undeclare labelled objects
as.declared

Labelled vectors with declared missing values
declared_package

Functions for Declared Missing Values
measurement

Get / Set measurement levels for declared objects
w_IQR

Compute weighted summaries for declared objects