Data Type Matters In gganimate

code
beginner
r
Author

Daniel Kick

Published

August 22, 2020

Be mindful of your data types. Sometimes T == 1 == 1.0 (logical, int, double) but assuming these are equivalent can get you into trouble. For example, in these animations, the only difference is the data is coerced to logicals or integers.