slope2angle | R Documentation |
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
)
df |
A data.frame |
fit |
An object of class "lm" or "glm" |
ytransform |
Numeric. If 1, log transformation of dependent variable, If -1, exponential transformation |
predc |
Name of predictor variable |
temppredc |
Name of predictor variable in regression equation |
modxc |
Name of moderator variable |
yvar |
Name of dependent variable |
p |
An object of class ggplot |
method |
String. Choices are one of "lm" and "glm". |
xpos |
The relative x-axis position of labels. Should be within 0 to 1 |
vjust |
vjust |
digits |
integer indicating the number of decimal places |
facetno |
The number of facets |
add.modx.values |
Whether add name of moderator variable |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.