discord_regression_legacy: Legacy Code: Discord Regression

Description Usage Arguments Value

View source: R/legacy.R

Description

This is from https://github.com/R-Computing-Lab/discord/blob/74323b2cdd739355cd4a388251c747f1bcd87eb5/R/discord_regression.R and is used to perform the discordant regression on the data output from discord_data_legacy.

Usage

1
2
3
4
5
6
7
8
discord_regression_legacy(
  df,
  outcome,
  predictors,
  more_args = NULL,
  additional_formula = more_args,
  ...
)

Arguments

outcome

A character string containing the outcome variable of interest.

predictors

A character vector containing the column names for predicting the outcome.

more_args

Optional string to add additional inputs to formula

additional_formula

Deprecated

Value

Resulting 'lm' object from performing the discordant regression.


discord documentation built on July 15, 2021, 9:06 a.m.