knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", dpi = 300, # High resolution for sharp plots fig.width = 7, # Width of the figures fig.height = 5, # Height of the figures out.width = "100%", # Adjust output width to be responsive out.height = "auto", # Adjust output height to maintain aspect ratio fig.align = 'center' # Center align figures )
install.packages("rasterdiv")
# install.packages("remotes") remotes::install_github("mattmar/rasterdiv")
rasterdiv is an R package that provides functions to apply diversity indexes based on Information Theory on RasterLayer or numerical matrices. Supported indexes include:
r if(knitr::is_html_output()) {
"[Visualising rasterdiv indexes with Helical Plots](https://mattmar.github.io/rasterdiv/articles/rasterdiv_05_Helical_Plots.html)"
} else {
"\\href{https://mattmar.github.io/rasterdiv/articles/rasterdiv_05_Helical_Plots.html}{Visualising rasterdiv indexes with Helical Plots}"
}
.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.