Commit b750254b authored by jbferet's avatar jbferet
Browse files

- v1.0.0

- modified editor in select_PCA_components
- updated outputs returned from raster2BIL and select_PCA_components
parent 5550ea56
Package: biodivMapR
Title: biodivMapR: an R package for α- and β-diversity mapping using remotely-sensed images
Version: 0.9.0
Version: 1.0.0
Authors@R: c(person(given = "Jean-Baptiste",
family = "Feret",
email = "jb.feret@teledetection.fr",
......
......@@ -157,7 +157,7 @@ raster2BIL <- function(Raster_Path, Sensor = "unknown", Output_Dir = FALSE, Conv
#' @param Raster_Path character. full path for the raster to be converted
#' @param Mask boolean. Set true if the raster is a mask
#'
#' @return
#' @return nothing
#' @export
check_data <- function(Raster_Path, Mask = FALSE) {
HDR_Path <- get_HDR_name(Raster_Path)
......
......@@ -501,7 +501,7 @@ define_pixels_per_iter <- function(ImNames, nb_partitions = nb_partitions) {
#' @param TypePCA character. Type of PCA: choose either "PCA" or "SPCA"
#' @param File_Open Boolean. Set to TRUE for file to open automatically
#'
#' @return nothing
#' @return Sel_PC
#' @importFrom utils file.edit
#' @export
select_PCA_components <- function(Input_Image_File, Output_Dir, PCA_Files, TypePCA = "SPCA", File_Open = FALSE) {
......@@ -523,7 +523,7 @@ select_PCA_components <- function(Input_Image_File, Output_Dir, PCA_Files, TypeP
file.create(Sel_PC)
}
if (File_Open == TRUE) {
file.edit(Sel_PC, title=basename(Sel_PC))
file.edit(Sel_PC, title=basename(Sel_PC),editor = "internal")
}
message("*********************************************************")
message("")
......
......@@ -12,7 +12,7 @@
 
<meta name="author" content="Jean-Baptiste Féret, Florian de Boissieu" />
 
<meta name="date" content="2019-09-07" />
<meta name="date" content="2019-09-26" />
 
<title>Tutorial for biodivMapR</title>
 
......@@ -92,7 +92,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
 
<h1 class="title toc-ignore">Tutorial for biodivMapR</h1>
<h4 class="author"><em>Jean-Baptiste Féret, Florian de Boissieu</em></h4>
<h4 class="date"><em>2019-09-07</em></h4>
<h4 class="date"><em>2019-09-26</em></h4>
 
 
 
......@@ -11,6 +11,9 @@ check_data(Raster_Path, Mask = FALSE)
\item{Mask}{boolean. Set true if the raster is a mask}
}
\value{
nothing
}
\description{
Checks if the data to be processed has the format type expected
}
......@@ -19,7 +19,7 @@ select_PCA_components(Input_Image_File, Output_Dir, PCA_Files,
\item{File_Open}{Boolean. Set to TRUE for file to open automatically}
}
\value{
nothing
Sel_PC
}
\description{
Check if principal components are properly selected as expected by the method
......
Markdown is supported
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