Code
ww_systematic_mpd_vec(1:5, 1:4)
Condition
Error in `yardstick_vec()`:
! Length of `truth` (5) and `estimate` (4) must match.
Code
ww_systematic_mpd_vec(1:4, 1:5)
Condition
Error in `yardstick_vec()`:
! Length of `truth` (4) and `estimate` (5) must match.
Code
ww_systematic_mpd(char_df, x, y)
Condition
Error in `ww_systematic_mpd()`:
! `estimate` must be numeric.
Code
ww_systematic_mpd(char_df, y, x)
Condition
Error in `ww_systematic_mpd()`:
! `truth` must be numeric.
Code
ww_systematic_mpd_vec(as.character(1:5), 1:4)
Condition
Error in `yardstick_vec()`:
! `truth` must be numeric.
Code
ww_systematic_mpd_vec(1:5, as.character(1:4))
Condition
Error in `yardstick_vec()`:
! `estimate` must be numeric.
Code
ww_systematic_mpd(list_df, x, y)
Condition
Error in `ww_systematic_mpd()`:
! `estimate` must be numeric.
Code
ww_systematic_mpd(list_df, y, x)
Condition
Error in `ww_systematic_mpd()`:
! `truth` must be numeric.
Code
round(ww_systematic_mpd(missing_df, x, y)$.estimate, 15)
Output
[1] 0
Code
round(ww_systematic_mpd(missing_df, y, x)$.estimate, 15)
Output
[1] 0
Code
round(ww_systematic_mpd_vec(missing_df$y, missing_df$x), 15)
Output
[1] 0
Code
round(ww_systematic_mpd_vec(missing_df$x, missing_df$y), 15)
Output
[1] 0
Code
ww_systematic_mpd_vec(numeric(), numeric())
Condition
Error in `yardstick_vec()`:
! 0 non-missing values were passed to `truth`.
Code
ww_systematic_mpd(empty_df, x, y)
Condition
Error in `ww_systematic_mpd()`:
! 0 non-missing values were passed to `truth`.
Code
ww_systematic_mpd(empty_df, y, x)
Condition
Error in `ww_systematic_mpd()`:
! 0 non-missing values were passed to `truth`.
Code
ww_systematic_mpd_vec(rep(NA_real_, 4), 4:1)
Condition
Error in `yardstick_vec()`:
! 0 non-missing values were passed to `truth`.
Code
ww_systematic_mpd_vec(1:4, rep(NA_real_, 4))
Condition
Error in `yardstick_vec()`:
! 0 non-missing values were passed to `truth`.
Code
ww_systematic_mpd(all_na, x, y)
Condition
Error in `ww_systematic_mpd()`:
! 0 non-missing values were passed to `truth`.
Code
ww_systematic_mpd(all_na, y, x)
Condition
Error in `ww_systematic_mpd()`:
! 0 non-missing values were passed to `truth`.
Code
ww_systematic_mpd_vec(1:4, 1:4)
Output
[1] 0
Code
ww_systematic_mpd(all_identical, x, y)
Output
# A tibble: 1 x 3
.metric .estimator .estimate
<chr> <chr> <dbl>
1 systematic_mpd standard 0
Code
ww_systematic_mpd_vec(1:4, 1:4)
Output
[1] 0
Code
ww_systematic_mpd(all_identical, x, y)
Output
# A tibble: 1 x 3
.metric .estimator .estimate
<chr> <chr> <dbl>
1 systematic_mpd standard 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.