Description Usage Arguments Details Examples
View source: R/Mfx_functions.R
plot method for objects of class Mfx
1 2 3 |
mfx |
an object of class |
type |
one of either "response" or "derivative" depending on whether you want to plot ICE curves of the response or derivative function |
centered |
if |
... |
other parameters to be passed to |
marginal effects are plotted using individual conditional expectation
(ICE) curves in the flavor of ice. The (default) gray
curves are ICE curves. The green dashed curve is the mean curve. The red solid
line is the linear projection given by the marginal effect.
If centered = TRUE, the curves are centered at their initial values
where x = min(x).
If type = "derivative", the derivatives of ICE curves are plotted. There
is no centered = TRUE analogue.
Points are also plotted. If you want a derivative or centered ICE curve, the actual data points are adjusted and plotted on the lines as well.
1 | # TO DO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.