MIA.Edge | R Documentation |
MIA.Edge
creates a marginal increment analysis plot.
MIA.Edge(x, y, x.label = "Month", y.label = "Proportion")
x |
vector representing the grouping variable for the marginal increment analysis. |
y |
vector representing the edge type for each value of "x". Must be the same length as "x". |
x.label |
label for the x-axis |
y.label |
label for the y-axis |
A barchart
using the package lattice depicting the
proportional edge type distribution by unique "x".
MIA
# Example with Sheepshead Data data(Sheepshead) Month <- Sheepshead$Month Edge <- with(Sheepshead, ifelse(MI/Prev.Inc>=0.6667, "Wide", "Narrow")) MIA.Edge(x = Month, y = Edge)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.