'Make rasters have same size

I have two rasters, one that is 43200x14760 cells and another that is 36000x12300 cells. I want to make the smaller raster have the same number of cells as the larger one, but the disagg() function only takes integers. How can I make these the same size without making huge rasters based on the LCM of their dimensions.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source