Learn R Programming

rspa (version 0.2.8)

Adapt Numerical Records to Fit (in)Equality Restrictions

Description

Minimally adjust the values of numerical records in a data.frame, such that each record satisfies a predefined set of equality and/or inequality constraints. The constraints can be defined using the 'validate' package. The core algorithms have recently been moved to the 'lintools' package, refer to 'lintools' for a more basic interface and access to a version of the algorithm that works with sparse matrices.

Copy Link

Version

Install

install.packages('rspa')

Monthly Downloads

288

Version

0.2.8

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

December 22nd, 2022

Functions in rspa (0.2.8)

match_restrictions

Alter numeric data records to match linear (in)equality constraints.
tagged_values

Retrieve tagged cell positions
adjusted

Adjusted object
adjustedRecords

DEPRECATED Adjusted records
adjustRecords

DEPRECATED Adjust records in a data.frame
sparseConstraints

DEPRECATED Generate sparse set of constraints.
remove_tag

Remove cell position tags
rspa-package

A package for minimal vector adjustment.
tag_missing

Tag currently missing elements of a data.frame
adjust

DEPRECATED Adjust a data to meet linear (in)equality constraints