rgroup: Variable Group Response indicator Recalculation

Description Usage Arguments Value Author(s)

View source: R/rgroup.R

Description

Recalculates the response indicators matrix (rij) for a variable group resulting from function vargroup. If a response is found in one element of the variable group, the whole variable group is considered to have a response (1).

Usage

1
rgroup(data, rij, varj)

Arguments

data

(mandatory) A dataframe containing the data to be processed.

rij

(mandatory) A matrix created using the function rind.

varj

(mandatory) A vector containing the variable numbers that belong to the response group. This vector can be calculated using the function (vargroup).

Value

A matrix of the type rij with recalculated response indicators for the variables in the varj vector.

Author(s)

Beat Hulliger, Juan Berdugo


sdap documentation built on May 2, 2019, 6:52 p.m.

Related to rgroup in sdap...