Nothing
starwars %>% shannon_entropy(eye_color)
#> Warning in data.matrix(X): NAs introduced by coercion
#> [1] NaN
should be:
starwars %>% shannon_entropy(eye_color)
#> [1] 3.117176
starwars %>% select(eye_color) %>% shannon_entropy()
now.
* data entering all infotheo
functions should be purely either tibbles or vectors now.
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.