-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error message with (setup_sdmdata) step #77
Comments
Hello, @SDMENM |
raster::res(stack) |
Thank you Andrea, that worked. let me try the remaining codes. |
Hello again, I am having problem running random forest with ModleR, I think my raster stack have NA values which are not permitted in the default settings of rf, can you please take a look. thanks.
|
Hello Everyone,
When I run the first code in ModleR, it gives me an error message. I am posting here the R code and error message. Can someone please help me with this.
setup_sdmdata(species_name = "L_agrorensis", occurrences = occ, predictors = stack, lon = "longitude",
lat = "latitude", models_dir = "./models", real_absences = NULL,
buffer_type = NULL, dist_buf = NULL, env_filter = FALSE, env_distance = "centroid",
buffer_shape = NULL, min_env_dist = NULL, min_geog_dist = NULL, write_buffer = FALSE,
seed = NULL, clean_dupl = FALSE, clean_nas = FALSE, clean_uni = FALSE, geo_filt = FALSE,
geo_filt_dist = NULL, select_variables = FALSE, cutoff = 0.8, sample_proportion = 0.8,
png_sdmdata = TRUE, n_back = 1000, partition_type = C("bootstrap"), boot_n = 1,
boot_proportion = 0.7, cv_n = NULL, cv_partitions = NULL)
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘res’ for signature ‘"standardGeneric"’
The text was updated successfully, but these errors were encountered: