View source: R/axFormatTableDat.R
axFormatTableDat | R Documentation |
Get the (apa formatted) output of a (moderated) regression in a variable list to be used in further computations or table arrangements.
axFormatTableDat(
data,
pred,
crit,
cov = NULL,
mod = NULL,
symMargSig = "+",
symSig = "*",
sorting = "",
formatted = "apa"
)
data |
A data frame containing the numeric columns to be used in the regression. |
pred |
Character with the column name which should be used as predictors of the linear regression |
crit |
Character cointaining the column name of the criteria |
cov |
Character vector with the column names which should be used as covariates in the linear regression |
mod |
Character with the column name which sould be used as a moderator (pred * mod) in the linear regression |
symMargSig |
Symbol to be used as indicator of marginal significance in formatted (apa) output. Default is dagger |
symSig |
Symbol to be used as indicator of significance in formatted (apa) output. Default is * |
sorting |
Character vector containing the sequence of variables which should be used in the output |
formatted |
Should the variable list contain apa formatted output ("apa", e.g., rounded, no leading zero, stars and daggers of significance) or unformatted ("raw") output. Default is "apa". |
Returns a list with variables of the regression output, either apa formatted or raw to be used for further computations or table output.
Axel Zinkernagel zinkernagel@uni-landau.de
axFormatTableDat(axBoost::df1, pred = "IndMeasure", crit = "AutoBehav",
cov = c("DirMeasure"), mod = "mod", formatted = "apa")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.