av_labs() returns ggplot2 axis labels that describe the residual models used
by av_transform().
Arguments
- data
A data frame returned by
av_transform().
Examples
av_data <- av_transform(mtcars, y = mpg, x = wt, adjust = c(hp, factor(cyl)))
ggplot2::ggplot(av_data, ggplot2::aes(.adjusted_wt, .adjusted_mpg)) +
ggplot2::geom_point() +
av_labs(av_data)