adjustRecords: DEPRECATED Adjust records in a 'data.frame'

View source: R/adjustRecords.R

adjustRecordsR Documentation

DEPRECATED Adjust records in a data.frame

Description

A convenient wrapper around adjust that loops over all records in a data.frame. DEPRECATED. See match_restrictions.

Usage

adjustRecords(
  E,
  dat,
  adjust = array(TRUE, dim = dim(dat)),
  w = rep(1, ncol(dat)),
  verbose = FALSE,
  ...
)

Arguments

E

a editmatrix

dat

a data.frame

adjust

a nrow(dat) x ncol(dat) boolean array, indicating which fields must be adjusted.

w

a vector of length ncol(dat) or array of size adjust with adjustment weights.

verbose

print progress to console

...

extra options, passed through to adjust

Value

An object of class adjustedRecords

Details

This function is not written to be especiallty speedy or memory-efficient, but to offer a convenient interface to adjusting a data.frame of records.

See Also

adjust


rspa documentation built on Dec. 28, 2022, 1:09 a.m.