| make_plot_data | R Documentation |
Internal helper that assembles the data used by
ggplot.sma: observed points and fitted (S)MA lines, both on the
natural (back-transformed) scale of the original variables.
make_plot_data(obj, n = 100)
obj |
An object of class |
n |
Number of points used to draw each fitted line. |
A list with elements points (a data frame of x,
y and group), lines (a data frame of the same columns
describing the fitted lines) and grouped (a logical flag indicating
whether the fit has a group structure).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.