Commit 70bf96d3 authored by Romulo Pereira Goncalves's avatar Romulo Pereira Goncalves
Browse files

Update documentation for option to plot on a browser or inline.

parent 6b469998
......@@ -15,6 +15,7 @@ Imports:
sp (<= 1.4-1),
rgdal (<= 1.4-8),
raster,
geojsonio,
maptools,
rgeos,
spatialEco,
......@@ -24,6 +25,7 @@ Imports:
velox,
leaflet,
leafem,
IRdisplay,
htmlwidgets
Remotes:url::https://cran.r-project.org/src/contrib/Archive/velox/velox_0.2.0.tar.gz
Encoding: UTF-8
......
......@@ -4,7 +4,7 @@
\alias{iplot}
\title{Plot Habitat Types}
\usage{
iplot(x, y, HaTy, r, g, b, acc, outPath)
iplot(x, y, HaTy, r, g, b, acc, outPath, plot_on_browser = TRUE)
}
\arguments{
\item{x}{probability image (*rasterObject)}
......@@ -22,6 +22,8 @@ iplot(x, y, HaTy, r, g, b, acc, outPath)
\item{acc}{predictive accuracy (integer)}
\item{outPath}{file path for '.html export (character)}
\item{plot_on_browser}{plot on the browser or inline in a notebook (default TRUE)}
}
\description{
A quick wrapper to produce an interactive raster map of habitat type probability in a web browser using leaflet
......
......@@ -24,7 +24,8 @@ multi_Class_Sampling(
multiTest = 1,
RGB = c(19, 20, 21),
overwrite = TRUE,
parallel_mode = FALSE
parallel_mode = FALSE,
plot_on_browser = TRUE
)
}
\arguments{
......@@ -67,6 +68,8 @@ multi_Class_Sampling(
\item{overwrite}{overwrite the results file}
\item{parallel_mode}{run loops using all available cores}
\item{plot_on_browser}{plot on the browser or inline in a notebook (default TRUE)}
}
\value{
4 files per step:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment