fm2ggplot | R Documentation |
Convert Fama-Macbeth regression to ggplot object
fm2ggplot(x, y, n = 1, ci = 0.95, fill = "grey", alpha = 0.1, ...)
x |
vector of time index (x-axis). |
y |
numeric vector of estimates (y-axis). |
n |
number of periods for rolling averages. |
ci |
level of the confidence intervals. |
fill |
color of the confidence intervals. |
alpha |
transparency of confidence intervals. |
... |
additional arguments passed to |
ggplot
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.