View source: R/SPARRAfairness_functions.R
build_diff | R Documentation |
build_diff Prepares a data frame for a ggplot object to compare differences using linear interpolation.
build_diff(df, xvar)
df |
data frame |
xvar |
name of variable to consider as 'x': interpolate over evenly spaced values of this variable. |
data frame using (common) interpolated x values rather than arbitrary x values
# Only used internally
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.