res.plot | R Documentation |

The function creates box plots for selected years of the resilience indices as calculated by `res.comp`

, and is intended for quick visualization.

```
res.plot(list.name, select.yr = NULL,
param = c("resist", "recov", "resil", "rel.resil",
"rec.period", "avg.rec.rate",
"tot.abs.grow.red", "tot.rel.grow.red",
"avg.abs.grow.red", "avg.rel.grow.red"))
```

`list.name` |
a |

`select.yr` |
an |

`param` |
a |

The function creates a box plot for a selected resilience index showing the full range of variation for individual trees in specific years. Box plots are only created for years for which indices are available for >= 5 series, as this value represents the number of statistics that a box plot represents in its' simplest form.

Box plot.

Marieke van der Maaten-Theunissen and Ernst van der Maaten.

```
## Plot the recovery period for three selected years
data(s033)
res <- res.comp(s033)
res.plot(res, select.yr = c(1976, 1992, 2003), param = "resist")
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.