recode_id: Recode individual rows in a data frame.

Description Usage Arguments Value

View source: R/recode.R

Description

The data frame is recoded according to a correspondance table containing a row id.
The correpondance table contains a least three fields : column, value and at least one id variable named with vars_id.

Usage

1
recode_id(data, data_recode, vars_id)

Arguments

data

A data frame.

data_recode

The correspondance table.

vars_id

The identification variables in both data and data_recode tables.

Value

A recoded data frame.


stephLH/source.maj documentation built on May 13, 2020, 1:54 p.m.