Longer object length is not a multiple of shorter object length?
Yes, this is something that you should worry about. Check the length of your objects with nrow(). R can auto-replicate objects so that they’re the same length if they differ, which means you might be performing operations on mismatched data. In this case you have an obvious flaw in that your subtracting aggregated data from … Read more