You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'stack': 'newdata' does not have named columns matching one or more of the original columns
#356
Open
jmfox2354 opened this issue
Nov 13, 2023
· 4 comments
I have been unable to get the ENMTML function to run so far. Despite several changes I've attempted to the code I keep getting this error message:
Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'stack': 'newdata' does not have named columns matching one or more of the original columns
The output shows this before the error stops it:
Checking for function arguments ...
Loading environmental variables ...
RasterBrick successfully created!
Performing a reduction of variables collinearity ...
If anyone has had luck resolving this issue or has an idea on how to resolve it I would really appreciate the help!
Thanks!
The text was updated successfully, but these errors were encountered:
Hello All,
I have been unable to get the ENMTML function to run so far. Despite several changes I've attempted to the code I keep getting this error message:
Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'stack': 'newdata' does not have named columns matching one or more of the original columns
The code I am using is:
ENMTML(pred_dir = "C:/Users/16321/Downloads/ENMTML/WorldClim 2.5 Arc Minute",
proj_dir = "C:/Users/16321/Downloads/ENMTML/Projections",
result_dir = "TestResults",
occ_file = "C:/Users/16321/Downloads/ENMTML/Occurences/Canis.lupus.final.csv",
sp = "scientific name",
x = "longitude",
y = "latitude",
min_occ = 10,
thin_occ = c(method='MORAN'),
eval_occ = NULL,
colin_var = c(method='PCA'),
imp_var = FALSE,
sp_accessible_area = NULL,
pseudoabs_method=c(method='RND'),
pres_abs_ratio = 1,
part = c(method='BOOT', replicates='2', proportion='0.7'),
save_part = FALSE,
save_final = TRUE,
algorithm = c('MXS'),
thr = c(type='MAX_TSS'),
msdm = NULL,
ensemble = c(method='PCA'),
extrapolation = FALSE,
cores = 1)
The output shows this before the error stops it:
Checking for function arguments ...
Loading environmental variables ...
RasterBrick successfully created!
Performing a reduction of variables collinearity ...
If anyone has had luck resolving this issue or has an idea on how to resolve it I would really appreciate the help!
Thanks!
The text was updated successfully, but these errors were encountered: