discord_regression_legacy | R Documentation |
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
.
discord_regression_legacy(
df,
outcome,
predictors,
more_args = NULL,
additional_formula = more_args,
...
)
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 |
Resulting 'lm' object from performing the discordant regression.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.