Make angle data with slope data
slope2angle(
df,
fit,
ytransform = 0,
predc,
temppredc,
modxc,
yvar,
p,
method = "lm",
xpos = NULL,
vjust = NULL,
digits = 3,
facetno = NULL,
add.modx.values = TRUE
)
A data.frame
An object of class "lm" or "glm"
Numeric. If 1, log transformation of dependent variable, If -1, exponential transformation
Name of predictor variable
Name of predictor variable in regression equation
Name of moderator variable
Name of dependent variable
An object of class ggplot
String. Choices are one of "lm" and "glm".
The relative x-axis position of labels. Should be within 0 to 1
vjust
integer indicating the number of decimal places
The number of facets
Whether add name of moderator variable