Description Usage Arguments Value Examples
Gets summary statistics of environmental variables (full and extracted by points) and also plot some graphics that helps to understand the data. It's mainly used by the var_leaflet function if the option to get an html summary is set to TRUE. However, it's also possible to use it individually, and also to produce interactive documents in R Markdown.
1 | var_report(var, pts, mode, type = "rmd")
|
var |
A raster with the environmental variables. |
pts |
A data frame containing the presence/absence points. The first column should be longitude (x) and the sencond latitude (y). An additional collumn should be provided, coded as 0 (absence) and 1 (presence). |
mode |
Which type of result return:
|
type |
Which type of output for the summaries (either "rmd" for markdown tables or any other value for a list with the summaries as a data.frame). |
Summary statistics or plots.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.