ortho: Residual-centered product indicators

Description Usage Arguments Value

Description

Creates residual-centered product indicators.

Usage

1
ortho(data, vars1, vars2, bind = TRUE)

Arguments

data

A data frame.

bind

Logical. If TRUE, the product indicators are appended to the data frame provided by data. If FALSE, only the product indicators are returned.

var1, var2

Character vectors naming the indicators to be multiplied together.

Value

A data frame. If bind = TRUE, the product indicators are appended to the input data frame given by data. If FALSE, only the product indicators are returned.


jaydennord/nord-package documentation built on May 18, 2019, 5:57 p.m.