Description Usage Arguments Details Value Author(s) See Also Examples
A function to transform the niche model from raster format to KML file.
1 |
modelo |
raster with the distribution model |
name |
name of the KML file to be generated. |
zeros |
logical. If FALSE, the zeros of the model are convergent in NA. |
open |
logical. If TURE, open the KML file in Google Earth. |
This function is a wrapper for plotKML
the function from the roxygen2 package. See the documentation and vignettes of that package to learn how to use roxygen.
data.frame containing longitude and latitude.
Diogo S. B. Rocha
1 2 3 | fnames <- list.files(path=paste(system.file(package="dismo"), '/ex', sep=''), pattern='grd', full.names=TRUE )
predictors <- stack(fnames)
toKML(modelo = predictors, name = "exemplo")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.