Skip to content

Commit ca791dc

Browse files
committed
branch dev_v2:
- added bigRaster as import - updated input variables from function select_PCA_components
1 parent 7733764 commit ca791dc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ License: GPL-3 + file LICENSE
2121
LazyData: true
2222
Imports:
2323
ape,
24+
bigRaster,
2425
cli,
2526
data.table,
2627
dissUtils,
@@ -57,7 +58,6 @@ Imports:
5758
pracma,
5859
doParallel
5960
Suggests:
60-
bigRaster,
6161
knitr,
6262
rmarkdown,
6363
testthat (>= 2.0.0)

R/select_PCA_components.R

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
#' Check if principal components are properly selected as expected by the method
22
#'
3-
#' @param input_raster_path character. Path of the image to be processed
4-
#' @param output_dir character. Path for output directory
53
#' @param pca_rast_path character. Path of the PCA image
4+
#' @param output_dir character. Path for output directory
65
#' @param File_Open Boolean. Set to TRUE for file to open automatically
76
#'
87
#' @return Sel_PC
98
#' @importFrom utils file.edit read.csv
109
#' @importFrom tools file_path_sans_ext
1110
#' @export
1211

13-
select_PCA_components <- function(input_raster_path,
12+
select_PCA_components <- function(pca_rast_path,
1413
output_dir,
15-
pca_rast_path,
1614
File_Open = TRUE) {
1715
message("Please check following PCA file:")
1816
print(pca_rast_path)

0 commit comments

Comments
 (0)