Nothing
Code
ww_global_geary_c_vec(worldclim_predicted$response, tail(worldclim_predicted$
predicted, -1), worldclim_weights)
Condition
Error in `yardstick_vec()`:
! Length of `truth` (10000) and `estimate` (9999) must match.
Code
ww_global_geary_c_vec(tail(worldclim_predicted$response, -1),
worldclim_predicted$predicted, worldclim_weights)
Condition
Error in `yardstick_vec()`:
! Length of `truth` (9999) and `estimate` (10000) must match.
Code
ww_global_geary_c(worldclim_predicted, predicted, response)
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Error in `ww_global_geary_c()`:
! `truth` must be numeric.
Code
ww_global_geary_c(worldclim_predicted, response, predicted)
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Error in `ww_global_geary_c()`:
! `estimate` must be numeric.
Code
ww_global_geary_c_vec(worldclim_predicted$response, worldclim_predicted$
predicted, worldclim_weights)
Condition
Error in `yardstick_vec()`:
! `estimate` must be numeric.
Code
ww_global_geary_c_vec(worldclim_predicted$predicted, worldclim_predicted$
response, worldclim_weights)
Condition
Error in `yardstick_vec()`:
! `truth` must be numeric.
Code
ww_global_geary_c(worldclim_predicted, response, predicted)
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Error in `ww_global_geary_c()`:
! `estimate` must be numeric.
Code
ww_global_geary_c(worldclim_predicted, predicted, response)
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Error in `ww_global_geary_c()`:
! `truth` must be numeric.
Code
ww_global_geary_c(worldclim_predicted, predicted, response)$.estimate
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Error in `spatial_yardstick_df()`:
! Missing values in data.
i waywiser can't handle missing data for functions that use spatial weights.
Code
ww_global_geary_c(worldclim_predicted, response, predicted)$.estimate
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Error in `spatial_yardstick_df()`:
! Missing values in data.
i waywiser can't handle missing data for functions that use spatial weights.
Code
ww_global_geary_c_vec(worldclim_predicted$predicted, worldclim_predicted$
response, worldclim_weights)
Condition
Error in `spatial_yardstick_vec()`:
! Missing values in data.
i waywiser can't handle missing data for functions that use spatial weights.
Code
ww_global_geary_c_vec(worldclim_predicted$response, worldclim_predicted$
predicted, worldclim_weights)
Condition
Error in `spatial_yardstick_vec()`:
! Missing values in data.
i waywiser can't handle missing data for functions that use spatial weights.
Code
ww_global_geary_c_vec(numeric(), numeric(), structure(list(), class = "listw"))
Condition
Error in `yardstick_vec()`:
! 0 non-missing values were passed to `truth`.
Code
ww_global_geary_c(head(worldclim_predicted, 0), response, predicted, structure(
list(), class = "listw"))
Condition
Error in `ww_global_geary_c()`:
! 0 non-missing values were passed to `truth`.
Code
ww_global_geary_c(head(worldclim_predicted, 0), predicted, response, structure(
list(), class = "listw"))
Condition
Error in `ww_global_geary_c()`:
! 0 non-missing values were passed to `truth`.
Code
ww_global_geary_c_vec(NA_real_, NA_real_, structure(list(neighbours = 1),
class = "listw"))
Condition
Error in `spatial_yardstick_vec()`:
! Missing values in data.
i waywiser can't handle missing data for functions that use spatial weights.
Code
ww_global_geary_c(worldclim_predicted, response, predicted)$.estimate
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Error in `spatial_yardstick_df()`:
! Missing values in data.
i waywiser can't handle missing data for functions that use spatial weights.
Code
ww_global_geary_c(worldclim_predicted, predicted, response)$.estimate
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Error in `spatial_yardstick_df()`:
! Missing values in data.
i waywiser can't handle missing data for functions that use spatial weights.
Code
ww_global_geary_c_vec(worldclim_simulation$response, worldclim_simulation$
response, worldclim_weights)
Output
[1] NA
Code
ww_global_geary_c(worldclim_simulation, response, response)
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Output
# A tibble: 1 x 3
.metric .estimator .estimate
<chr> <chr> <dbl>
1 global_geary_c standard NA
Code
withr::with_seed(123, ww_global_geary_c(worldclim_loaded, bio13, bio19))
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Output
# A tibble: 1 x 3
.metric .estimator .estimate
<chr> <chr> <dbl>
1 global_geary_c standard 0.0731
Code
withr::with_seed(123, ww_global_geary_c(worldclim_loaded, bio13, bio19))
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Output
# A tibble: 1 x 3
.metric .estimator .estimate
<chr> <chr> <dbl>
1 global_geary_c standard 0.0731
Code
withr::with_seed(123, ww_global_geary_c_vec(worldclim_loaded$bio13,
worldclim_loaded$bio19, worldclim_weights))
Output
[1] 0.07310762
Code
withr::with_seed(123, ww_global_geary_c_vec(worldclim_loaded$bio13,
worldclim_loaded$bio19, worldclim_weights))
Output
[1] 0.07310762
Code
withr::with_seed(123, ww_global_geary_c(worldclim_loaded, bio13, bio19))
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 3092 sub-graphs
Output
# A tibble: 1 x 3
.metric .estimator .estimate
<chr> <chr> <dbl>
1 global_geary_c standard 0.0731
Code
withr::with_seed(123, ww_global_geary_c(worldclim_loaded, bio13, bio19,
function(data) ww_build_weights(ww_make_point_neighbors(data, k = 5))))
Condition
Warning in `spdep::knn2nb()`:
neighbour object has 7 sub-graphs
Output
# A tibble: 1 x 3
.metric .estimator .estimate
<chr> <chr> <dbl>
1 global_geary_c standard 0.155
Code
withr::with_seed(123, ww_global_geary_c_vec(worldclim_loaded$bio13,
worldclim_loaded$bio19, other_weights))
Output
[1] 0.1546693
Code
withr::with_seed(123, ww_global_geary_c_vec(worldclim_loaded$bio13,
worldclim_loaded$bio19, other_weights))
Output
[1] 0.1546693
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.